diff -r e24348a560a6 -r b72c6db6890b src/corelib/tools/qmap.h --- a/src/corelib/tools/qmap.h Fri Jun 11 14:24:45 2010 +0300 +++ b/src/corelib/tools/qmap.h Wed Jun 23 19:07:03 2010 +0300 @@ -953,7 +953,7 @@ { return QMap::insertMulti(key, value); } inline QMultiMap &operator+=(const QMultiMap &other) - { unite(other); return *this; } + { this->unite(other); return *this; } inline QMultiMap operator+(const QMultiMap &other) const { QMultiMap result = *this; result += other; return result; } @@ -1028,12 +1028,7 @@ typename QMap::iterator end(QMap::end()); while (i != end && !qMapLessThanKey(key, i.key())) { if (i.value() == value) { -#if defined(Q_CC_RVCT) - // RVCT has problems with scoping, apparently. - i = QMap::erase(i); -#else - i = erase(i); -#endif + i = this->erase(i); ++n; } else { ++i;