From 47b55c0d9fccf3994f86fd764cefca3a2f734dbe Mon Sep 17 00:00:00 2001 From: Kris De Gussem Date: Sat, 15 Oct 2011 22:03:44 +0200 Subject: cppcheck (bzr r10678) --- src/composite-undo-stack-observer.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/composite-undo-stack-observer.cpp') diff --git a/src/composite-undo-stack-observer.cpp b/src/composite-undo-stack-observer.cpp index 03e4796bd..6af34d92a 100644 --- a/src/composite-undo-stack-observer.cpp +++ b/src/composite-undo-stack-observer.cpp @@ -139,14 +139,14 @@ CompositeUndoStackObserver::_unlock() if (!--this->_iterating) { // Remove marked observers UndoObserverRecordList::iterator i = this->_active.begin(); - for(; i != this->_active.begin(); i++) { + for(; i != this->_active.begin(); ++i) { if (i->to_remove) { this->_active.erase(i); } } i = this->_pending.begin(); - for(; i != this->_pending.begin(); i++) { + for(; i != this->_pending.begin(); ++i) { if (i->to_remove) { this->_active.erase(i); } -- cgit v1.2.3