aboutsummaryrefslogtreecommitdiff
path: root/externals/grill/flext/source/flmap.h
diff options
context:
space:
mode:
authorThomas Grill <xovo@users.sourceforge.net>2005-05-01 03:12:05 +0000
committerThomas Grill <xovo@users.sourceforge.net>2005-05-01 03:12:05 +0000
commitbf71e93c27db661f3596b1e781ea2d632c1680ba (patch)
treeb6836bbdae20cfb62218dc5420dd6e26e8fdc375 /externals/grill/flext/source/flmap.h
parent581838d0672e6c17136f661bcd4b48b20ef30199 (diff)
better c++ compliance
fixes for MSVC6 restructured TableMap type (doesn't own pointers any more) svn path=/trunk/; revision=2861
Diffstat (limited to 'externals/grill/flext/source/flmap.h')
-rw-r--r--externals/grill/flext/source/flmap.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/externals/grill/flext/source/flmap.h b/externals/grill/flext/source/flmap.h
index 52f6e030..8d249776 100644
--- a/externals/grill/flext/source/flmap.h
+++ b/externals/grill/flext/source/flmap.h
@@ -84,7 +84,7 @@ public:
public:
iterator(): map(0) {}
iterator(const TableAnyMap &m): map(&m),ix(0) { leftmost(); }
- iterator(iterator &it): map(it.map),ix(it.ix) {}
+ iterator(const iterator &it): map(it.map),ix(it.ix) {}
iterator &operator =(const iterator &it) { map = it.map,ix = it.ix; return *this; }
@@ -219,7 +219,7 @@ public:
public:
iterator() {}
iterator(const TablePtrMap &m): TableAnyMap::iterator(m) {}
- iterator(iterator &it): TableAnyMap::iterator(it) {}
+ iterator(const iterator &it): TableAnyMap::iterator(it) {}
// this ugly syntax (cast to parent class) is needed for MSVC6