summaryrefslogtreecommitdiff
path: root/src/bindings
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 /src/bindings
parent7e1ce2d33d9e367dcfee048cbeb84ed348ce4931 (diff)
downloadefl-710f97580ae9fe0f4f00fb7fbceddc78234d239e.tar.gz
eina-cxx: Fix wrongful operator++ for iterator and docs
Diffstat (limited to 'src/bindings')
-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:
* @param iterator Handle to a native @c Eina_Iterator.
*
* This constructor creates an iterator that wraps the given native
- * @c Eina_Iterator handle, providing an OOP interface to it.
+ * @c Eina_Iterator handle, providing a generic interface to it.
*
* @warning The created iterator object gains ownership of the handle
* and will deallocate it at destruction time.
@@ -142,7 +142,7 @@ protected:
/**
* C++ wrappers to the native @c Eina_Iterator.
- * It provides an OOP interface to the @c Eina_Iterator functions, and
+ * It provides a generic interface to the @c Eina_Iterator functions, and
* automatically take care of allocating a deallocating resources using
* the RAII programming idiom.
*/
@@ -165,7 +165,7 @@ public:
* @brief Creates a iterator wrapping the given native @c Eina_Iterator handle.
*
* This constructor creates an iterator that wraps the given native
- * @c Eina_Iterator handle, providing an OOP interface to it.
+ * @c Eina_Iterator handle, providing a generic interface to it.
*/
explicit iterator(Eina_Iterator* iterator_ = 0)
: base_type(iterator_)
@@ -202,7 +202,7 @@ public:
*/
self_type& operator++(int)
{
- return ++**this;
+ return ++*this;
}
/**
@@ -243,7 +243,7 @@ public:
* @brief Creates a iterator wrapping the given native @c Eina_Iterator handle.
*
* This constructor creates an iterator that wraps the given native
- * @c Eina_Iterator handle, providing an OOP interface to it.
+ * @c Eina_Iterator handle, providing a generic interface to it.
*/
explicit iterator(Eina_Iterator* iterator_ = 0)
: base_type(iterator_)