From 0112dbebebb521254d2935fb4980a16bce97d32f Mon Sep 17 00:00:00 2001 From: Thomas Grill Date: Wed, 11 Aug 2004 04:04:25 +0000 Subject: "" svn path=/trunk/; revision=1937 --- externals/grill/flext/source/flmap.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'externals/grill/flext/source/flmap.h') diff --git a/externals/grill/flext/source/flmap.h b/externals/grill/flext/source/flmap.h index e93b5466..c20b5ade 100644 --- a/externals/grill/flext/source/flmap.h +++ b/externals/grill/flext/source/flmap.h @@ -48,9 +48,10 @@ public: iterator() {} #if defined(_MSC_VER) && (_MSC_VER < 0x1300) // with the MSVC6 STL implementation iterators can't be initialized... - iterator(AnyMap::iterator &it) { static_cast(*this) = it; } + iterator(AnyMap::iterator it) { static_cast(*this) = it; } #else - iterator(AnyMap::iterator &it): AnyMap::iterator(it) {} + // note: &it doesn't work for gcc (i don't know why it doesn't...) + iterator(AnyMap::iterator it): AnyMap::iterator(it) {} #endif inline K &key() const { return *(K *)&((*this)->first); } -- cgit v1.2.1