felipealmeida pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=7033cb5d8300b653ec1e7b820caaf7b25fa1e5b9

commit 7033cb5d8300b653ec1e7b820caaf7b25fa1e5b9
Author: Felipe Magno de Almeida <fel...@expertisesolutions.com.br>
Date:   Tue Dec 29 11:36:11 2015 -0200

    eina-cxx: Fixed wrong uses of using directive
    
    Changed using directive for types to typedef's to bring their definitions 
from base type. Avoiding compilation errors with clang.
---
 src/bindings/eina_cxx/eina_list.hh | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/bindings/eina_cxx/eina_list.hh 
b/src/bindings/eina_cxx/eina_list.hh
index 1221867..c1a02b5 100644
--- a/src/bindings/eina_cxx/eina_list.hh
+++ b/src/bindings/eina_cxx/eina_list.hh
@@ -190,7 +190,7 @@ public:
   typedef typename _base_type::reverse_iterator reverse_iterator;
   typedef typename _base_type::const_reverse_iterator const_reverse_iterator;
 
-  using _base_type::native_handle_type;
+  typedef typename _base_type::native_handle_type native_handle_type;
   
   list& operator=(list&& other) = default;
   list(list&& other) = default;
@@ -254,7 +254,7 @@ public:
   typedef std::reverse_iterator<iterator> reverse_iterator;
   typedef std::reverse_iterator<const_iterator> const_reverse_iterator;
 
-  using _base_type::native_handle_type;
+  typedef typename _base_type::native_handle_type native_handle_type;
 
   explicit list(typename _self_type::native_handle_type handle)
     : _base_type(handle) {}
@@ -470,7 +470,7 @@ public:
   typedef typename _base_type::reverse_iterator reverse_iterator;
   typedef typename _base_type::const_reverse_iterator const_reverse_iterator;
 
-  using _base_type::native_handle_type;
+  typedef typename _base_type::native_handle_type native_handle_type;
 
   using _base_type::_base_type;
   using _base_type::size;
@@ -509,7 +509,7 @@ public:
   typedef std::reverse_iterator<iterator> reverse_iterator;
   typedef std::reverse_iterator<const_iterator> const_reverse_iterator;
 
-  using _base_type::native_handle_type;
+  typedef typename _base_type::native_handle_type native_handle_type;
 
   explicit range_list(typename _self_type::native_handle_type handle)
     : _base_type(handle) {}

-- 


Reply via email to