summaryrefslogtreecommitdiff
path: root/src/bindings
diff options
context:
space:
mode:
authorFelipe Magno de Almeida <felipe@expertisesolutions.com.br>2015-12-29 11:36:11 -0200
committerFelipe Magno de Almeida <felipe@expertisesolutions.com.br>2015-12-29 11:36:11 -0200
commit7033cb5d8300b653ec1e7b820caaf7b25fa1e5b9 (patch)
treef69aad1fbf78307a76ca92e9c7f2ceb4f5b043f9 /src/bindings
parent9e085209f464936c6e3c6ad1c29733765d604739 (diff)
downloadefl-7033cb5d8300b653ec1e7b820caaf7b25fa1e5b9.tar.gz
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.
Diffstat (limited to 'src/bindings')
-rw-r--r--src/bindings/eina_cxx/eina_list.hh8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/bindings/eina_cxx/eina_list.hh b/src/bindings/eina_cxx/eina_list.hh
index 1221867c7b..c1a02b50dc 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) {}