summaryrefslogtreecommitdiffstats
path: root/src/corelib/tools/qmap.h
diff options
context:
space:
mode:
authorJanne Anttila <janne.anttila@digia.com>2009-08-04 09:33:55 (GMT)
committerJanne Anttila <janne.anttila@digia.com>2009-08-04 09:43:15 (GMT)
commitfbe7f34f46de3e0732489c0043f89cc5aa535ecb (patch)
tree65d29b66abf662a35ddd2565e9b4194515a1e263 /src/corelib/tools/qmap.h
parente3b1daaadf9daff424c71ddcf642986f1bc1be8c (diff)
downloadQt-fbe7f34f46de3e0732489c0043f89cc5aa535ecb.zip
Qt-fbe7f34f46de3e0732489c0043f89cc5aa535ecb.tar.gz
Qt-fbe7f34f46de3e0732489c0043f89cc5aa535ecb.tar.bz2
Trailing whitespace and tab/space fixes for src/corelib
Diffstat (limited to 'src/corelib/tools/qmap.h')
-rw-r--r--src/corelib/tools/qmap.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/corelib/tools/qmap.h b/src/corelib/tools/qmap.h
index be80e75..70a2896 100644
--- a/src/corelib/tools/qmap.h
+++ b/src/corelib/tools/qmap.h
@@ -1019,12 +1019,12 @@ Q_INLINE_TEMPLATE int QMultiMap<Key, T>::remove(const Key &key, const T &value)
typename QMap<Key, T>::iterator end(QMap<Key, T>::end());
while (i != end && !qMapLessThanKey<Key>(key, i.key())) {
if (i.value() == value) {
-#if defined(Q_CC_RVCT)
- // RVCT has problems with scoping, apparently.
+#if defined(Q_CC_RVCT)
+ // RVCT has problems with scoping, apparently.
i = QMap<Key, T>::erase(i);
#else
i = erase(i);
-#endif
+#endif
++n;
} else {
++i;