diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2012-07-31 09:15:34 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2012-07-31 09:15:34 +0200 |
commit | 9d75ea50e7e64b7d282655e986564acb640bf04e (patch) | |
tree | 0b14a4e324020d9b752a45698994d062093f87a2 /editeng | |
parent | 963f417fa89746fe087f7b7e585edb79fdd3b14d (diff) |
error: attempt to increment a past-the-end iterator
...when running editeng/CppunitTest_editeng_lookuptree.mk
Change-Id: Ida1cbb16965138a42bec9e675b630bcbf2f6617e
Diffstat (limited to 'editeng')
-rw-r--r-- | editeng/source/lookuptree/Node.cxx | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/editeng/source/lookuptree/Node.cxx b/editeng/source/lookuptree/Node.cxx index 6d5e32050785..2492a88e5c08 100644 --- a/editeng/source/lookuptree/Node.cxx +++ b/editeng/source/lookuptree/Node.cxx @@ -56,7 +56,10 @@ void Node::removeChild(Node*& pChild) { i = m_lChildren.erase( i ); } - ++i; + else + { + ++i; + } } } } |