aboutsummaryrefslogtreecommitdiff
path: root/externals/grill/flext/source/flmap.h
diff options
context:
space:
mode:
authorThomas Grill <xovo@users.sourceforge.net>2004-08-11 04:04:25 +0000
committerThomas Grill <xovo@users.sourceforge.net>2004-08-11 04:04:25 +0000
commit0112dbebebb521254d2935fb4980a16bce97d32f (patch)
treeefffb6c7f92dcfaa38acfd7dd990ee8f25c6850c /externals/grill/flext/source/flmap.h
parente1828edbfd94e93e2728bdfaf8b13913bb2e3502 (diff)
""
svn path=/trunk/; revision=1937
Diffstat (limited to 'externals/grill/flext/source/flmap.h')
-rw-r--r--externals/grill/flext/source/flmap.h5
1 files changed, 3 insertions, 2 deletions
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<AnyMap::iterator &>(*this) = it; }
+ iterator(AnyMap::iterator it) { static_cast<AnyMap::iterator &>(*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); }