savio pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=7578dd4a559912c91b340da55405fcf0d8e297d2

commit 7578dd4a559912c91b340da55405fcf0d8e297d2
Author: Savio Sena <sa...@expertisesolutions.com.br>
Date:   Wed Sep 3 15:26:37 2014 -0300

    eina-cxx: Removed unecessary eo_refs.
    
    eo_clone_allocator already handles that.
---
 src/bindings/eina_cxx/eina_list.hh | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/src/bindings/eina_cxx/eina_list.hh 
b/src/bindings/eina_cxx/eina_list.hh
index d0a856e..1a7aafb 100644
--- a/src/bindings/eina_cxx/eina_list.hh
+++ b/src/bindings/eina_cxx/eina_list.hh
@@ -286,7 +286,7 @@ public:
   }
   list& operator=(list&& other) = default;
   list(list&& other) = default;
-  
+
   using _base_type::clear;
   using _base_type::size;
   using _base_type::empty;
@@ -296,19 +296,19 @@ public:
 
   void push_back(const_reference w)
   {
-    this->_base_type::push_back(* ::eo_ref(w._eo_ptr()));
+    this->_base_type::push_back(* w._eo_ptr());
   }
   void push_front(const_reference w)
   {
-    this->_base_type::push_front(* ::eo_ref(w._eo_ptr()));
+    this->_base_type::push_front(* w._eo_ptr());
   }
   iterator insert(iterator i, const_reference v)
   {
-    return this->_base_type::insert(i, * ::eo_ref(v._eo_ptr()));
+    return this->_base_type::insert(i, * v._eo_ptr());
   }
   iterator insert(iterator i, size_t n, const_reference v)
   {
-    return this->_base_type::insert(i, n, * ::eo_ref(v._eo_ptr()));
+    return this->_base_type::insert(i, n, * v._eo_ptr());
   }
   template <typename InputIterator>
   iterator insert(iterator p, InputIterator i, InputIterator j

-- 


Reply via email to