summaryrefslogtreecommitdiff
path: root/src/bindings
diff options
context:
space:
mode:
authorFelipe Magno de Almeida <felipe@expertisesolutions.com.br>2015-12-29 11:37:27 -0200
committerFelipe Magno de Almeida <felipe@expertisesolutions.com.br>2015-12-29 11:37:27 -0200
commita14b4bf497486e4ab7d3f432af0baef5a089fca8 (patch)
treedad6ce292171d41d85d6a83ffed4e773c84eb8d0 /src/bindings
parent7033cb5d8300b653ec1e7b820caaf7b25fa1e5b9 (diff)
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.
Diffstat (limited to 'src/bindings')
-rw-r--r--src/bindings/eldbus_cxx/eldbus_message.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bindings/eldbus_cxx/eldbus_message.hh b/src/bindings/eldbus_cxx/eldbus_message.hh
index 8c4caf2762..3f9e15de4e 100644
--- a/src/bindings/eldbus_cxx/eldbus_message.hh
+++ b/src/bindings/eldbus_cxx/eldbus_message.hh
@@ -77,7 +77,7 @@ struct message_iterator
77 } 77 }
78 return *this; 78 return *this;
79 } 79 }
80 message_iterator operator++() const 80 message_iterator operator++(int)
81 { 81 {
82 message_iterator tmp(*this); 82 message_iterator tmp(*this);
83 ++*this; 83 ++*this;