[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[libcvd-members] libcvd/cvd image.h
From: |
Edward Rosten |
Subject: |
[libcvd-members] libcvd/cvd image.h |
Date: |
Thu, 02 Jul 2009 16:24:01 +0000 |
CVSROOT: /cvsroot/libcvd
Module name: libcvd
Changes by: Edward Rosten <edrosten> 09/07/02 16:24:01
Modified files:
cvd : image.h
Log message:
Made const members of ConstSubImageIterator non-const. This doesn't seem
to affect optimization, but const members break operator=.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/libcvd/cvd/image.h?cvsroot=libcvd&r1=1.46&r2=1.47
Patches:
Index: image.h
===================================================================
RCS file: /cvsroot/libcvd/libcvd/cvd/image.h,v
retrieving revision 1.46
retrieving revision 1.47
diff -u -b -r1.46 -r1.47
--- image.h 2 Jul 2009 10:56:58 -0000 1.46
+++ image.h 2 Jul 2009 16:24:01 -0000 1.47
@@ -214,8 +214,8 @@
protected:
T* ptr;
const T *row_end, *end;
- const bool is_end;
- const int row_increment, total_width;
+ bool is_end;
+ int row_increment, total_width;
};
template<class T> class SubImageIterator: public ConstSubImageIterator<T>