diff --git a/src/corelib/tools/qflatmap_p.h b/src/corelib/tools/qflatmap_p.h index ea942a0283c..17c6167ddf3 100644 --- a/src/corelib/tools/qflatmap_p.h +++ b/src/corelib/tools/qflatmap_p.h @@ -191,7 +191,7 @@ public: { iterator r = *this; - i++; + ++*this; return r; } @@ -204,7 +204,7 @@ public: iterator operator--(int) { iterator r = *this; - i--; + --*this; return r; } @@ -328,7 +328,7 @@ public: { const_iterator r = *this; - i++; + ++*this; return r; } @@ -341,7 +341,7 @@ public: const_iterator operator--(int) { const_iterator r = *this; - i--; + --*this; return r; }