summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelipe Magno de Almeida <felipe@expertisesolutions.com.br>2016-06-06 02:50:13 -0300
committerFelipe Magno de Almeida <felipe@expertisesolutions.com.br>2016-06-06 02:50:13 -0300
commit710f97580ae9fe0f4f00fb7fbceddc78234d239e (patch)
tree2acc355e20e3754ba70fdb230a6602906a0e9cbd
parent7e1ce2d33d9e367dcfee048cbeb84ed348ce4931 (diff)
eina-cxx: Fix wrongful operator++ for iterator and docs
-rw-r--r--src/bindings/cxx/eina_cxx/eina_iterator.hh10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/bindings/cxx/eina_cxx/eina_iterator.hh b/src/bindings/cxx/eina_cxx/eina_iterator.hh
index dcada2cc05..71f17ffddd 100644
--- a/src/bindings/cxx/eina_cxx/eina_iterator.hh
+++ b/src/bindings/cxx/eina_cxx/eina_iterator.hh
@@ -48,7 +48,7 @@ public:
48 * @param iterator Handle to a native @c Eina_Iterator. 48 * @param iterator Handle to a native @c Eina_Iterator.
49 * 49 *
50 * This constructor creates an iterator that wraps the given native 50 * This constructor creates an iterator that wraps the given native
51 * @c Eina_Iterator handle, providing an OOP interface to it. 51 * @c Eina_Iterator handle, providing a generic interface to it.
52 * 52 *
53 * @warning The created iterator object gains ownership of the handle 53 * @warning The created iterator object gains ownership of the handle
54 * and will deallocate it at destruction time. 54 * and will deallocate it at destruction time.
@@ -142,7 +142,7 @@ protected:
142 142
143/** 143/**
144 * C++ wrappers to the native @c Eina_Iterator. 144 * C++ wrappers to the native @c Eina_Iterator.
145 * It provides an OOP interface to the @c Eina_Iterator functions, and 145 * It provides a generic interface to the @c Eina_Iterator functions, and
146 * automatically take care of allocating a deallocating resources using 146 * automatically take care of allocating a deallocating resources using
147 * the RAII programming idiom. 147 * the RAII programming idiom.
148 */ 148 */
@@ -165,7 +165,7 @@ public:
165 * @brief Creates a iterator wrapping the given native @c Eina_Iterator handle. 165 * @brief Creates a iterator wrapping the given native @c Eina_Iterator handle.
166 * 166 *
167 * This constructor creates an iterator that wraps the given native 167 * This constructor creates an iterator that wraps the given native
168 * @c Eina_Iterator handle, providing an OOP interface to it. 168 * @c Eina_Iterator handle, providing a generic interface to it.
169 */ 169 */
170 explicit iterator(Eina_Iterator* iterator_ = 0) 170 explicit iterator(Eina_Iterator* iterator_ = 0)
171 : base_type(iterator_) 171 : base_type(iterator_)
@@ -202,7 +202,7 @@ public:
202 */ 202 */
203 self_type& operator++(int) 203 self_type& operator++(int)
204 { 204 {
205 return ++**this; 205 return ++*this;
206 } 206 }
207 207
208 /** 208 /**
@@ -243,7 +243,7 @@ public:
243 * @brief Creates a iterator wrapping the given native @c Eina_Iterator handle. 243 * @brief Creates a iterator wrapping the given native @c Eina_Iterator handle.
244 * 244 *
245 * This constructor creates an iterator that wraps the given native 245 * This constructor creates an iterator that wraps the given native
246 * @c Eina_Iterator handle, providing an OOP interface to it. 246 * @c Eina_Iterator handle, providing a generic interface to it.
247 */ 247 */
248 explicit iterator(Eina_Iterator* iterator_ = 0) 248 explicit iterator(Eina_Iterator* iterator_ = 0)
249 : base_type(iterator_) 249 : base_type(iterator_)