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)
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:
190 typedef typename _base_type::reverse_iterator reverse_iterator; 190 typedef typename _base_type::reverse_iterator reverse_iterator;
191 typedef typename _base_type::const_reverse_iterator const_reverse_iterator; 191 typedef typename _base_type::const_reverse_iterator const_reverse_iterator;
192 192
193 using _base_type::native_handle_type; 193 typedef typename _base_type::native_handle_type native_handle_type;
194 194
195 list& operator=(list&& other) = default; 195 list& operator=(list&& other) = default;
196 list(list&& other) = default; 196 list(list&& other) = default;
@@ -254,7 +254,7 @@ public:
254 typedef std::reverse_iterator<iterator> reverse_iterator; 254 typedef std::reverse_iterator<iterator> reverse_iterator;
255 typedef std::reverse_iterator<const_iterator> const_reverse_iterator; 255 typedef std::reverse_iterator<const_iterator> const_reverse_iterator;
256 256
257 using _base_type::native_handle_type; 257 typedef typename _base_type::native_handle_type native_handle_type;
258 258
259 explicit list(typename _self_type::native_handle_type handle) 259 explicit list(typename _self_type::native_handle_type handle)
260 : _base_type(handle) {} 260 : _base_type(handle) {}
@@ -470,7 +470,7 @@ public:
470 typedef typename _base_type::reverse_iterator reverse_iterator; 470 typedef typename _base_type::reverse_iterator reverse_iterator;
471 typedef typename _base_type::const_reverse_iterator const_reverse_iterator; 471 typedef typename _base_type::const_reverse_iterator const_reverse_iterator;
472 472
473 using _base_type::native_handle_type; 473 typedef typename _base_type::native_handle_type native_handle_type;
474 474
475 using _base_type::_base_type; 475 using _base_type::_base_type;
476 using _base_type::size; 476 using _base_type::size;
@@ -509,7 +509,7 @@ public:
509 typedef std::reverse_iterator<iterator> reverse_iterator; 509 typedef std::reverse_iterator<iterator> reverse_iterator;
510 typedef std::reverse_iterator<const_iterator> const_reverse_iterator; 510 typedef std::reverse_iterator<const_iterator> const_reverse_iterator;
511 511
512 using _base_type::native_handle_type; 512 typedef typename _base_type::native_handle_type native_handle_type;
513 513
514 explicit range_list(typename _self_type::native_handle_type handle) 514 explicit range_list(typename _self_type::native_handle_type handle)
515 : _base_type(handle) {} 515 : _base_type(handle) {}