diff options
author | Thomas Grill <xovo@users.sourceforge.net> | 2004-08-10 03:32:04 +0000 |
---|---|---|
committer | Thomas Grill <xovo@users.sourceforge.net> | 2004-08-10 03:32:04 +0000 |
commit | 849cd0933db8af7191be6ce8e1d39b0452d43eea (patch) | |
tree | 467b268d097c3ef6b07850e9d08eabc0b80849ac /externals/grill/flext/source/flmap.h | |
parent | b86ef0ecbc438c2da9b8148bce0ffe3395131bb1 (diff) |
""
svn path=/trunk/; revision=1934
Diffstat (limited to 'externals/grill/flext/source/flmap.h')
-rw-r--r-- | externals/grill/flext/source/flmap.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/externals/grill/flext/source/flmap.h b/externals/grill/flext/source/flmap.h index b32b2652..e93b5466 100644 --- a/externals/grill/flext/source/flmap.h +++ b/externals/grill/flext/source/flmap.h @@ -46,7 +46,12 @@ public: { public: iterator() {} - iterator(AnyMap::iterator it): AnyMap::iterator(it) {} +#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; } +#else + iterator(AnyMap::iterator &it): AnyMap::iterator(it) {} +#endif inline K &key() const { return *(K *)&((*this)->first); } inline T &data() const { return *(T *)&((*this)->second); } |