eldbus-cxx: Fixed infinite recursion with post-increment operator

The pre-increment operator was being defined twice and being
implemented as a post-increment. Modified declaration to be
post-increment as it was supposed to be.
This commit is contained in:
Felipe Magno de Almeida 2015-12-29 11:37:27 -02:00
parent 7033cb5d83
commit a14b4bf497
1 changed files with 1 additions and 1 deletions

View File

@ -77,7 +77,7 @@ struct message_iterator
}
return *this;
}
message_iterator operator++() const
message_iterator operator++(int)
{
message_iterator tmp(*this);
++*this;