felipealmeida pushed a commit to branch master.

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

commit eaa6961378158f1570ba446011bef777b43f9a58
Author: Felipe Magno de Almeida <fel...@expertisesolutions.com.br>
Date:   Tue Apr 14 00:46:19 2015 -0300

    eina-cxx: Fix compilation error on clang
    
    Clang implicitly deletes the default-constructor on range_ptrlist, which 
must be explicitly defined.
---
 src/bindings/eina_cxx/eina_ptrlist.hh     |  6 ++++++
 src/bindings/eina_cxx/eina_range_types.hh | 12 ++++++++++++
 2 files changed, 18 insertions(+)

diff --git a/src/bindings/eina_cxx/eina_ptrlist.hh 
b/src/bindings/eina_cxx/eina_ptrlist.hh
index e06f436..2f18d10 100644
--- a/src/bindings/eina_cxx/eina_ptrlist.hh
+++ b/src/bindings/eina_cxx/eina_ptrlist.hh
@@ -283,6 +283,12 @@ struct range_ptr_list : _range_template<T, 
_ptr_list_access_traits>
   typedef typename _base_type::native_handle_type native_handle_type; /** Type 
for the native Eina list handle. */
 
   /**
+   * @brief Creates a singular range
+   */
+  range_ptr_list()
+  {}
+
+  /**
    * @brief Creates a range from a native Eina list handle.
    */
   range_ptr_list(native_handle_type list)
diff --git a/src/bindings/eina_cxx/eina_range_types.hh 
b/src/bindings/eina_cxx/eina_range_types.hh
index 4c60221..844e2ef 100644
--- a/src/bindings/eina_cxx/eina_range_types.hh
+++ b/src/bindings/eina_cxx/eina_range_types.hh
@@ -38,6 +38,12 @@ struct _const_range_template
   typedef _const_range_template<T, Traits> _self_type; /**< Type of the range 
itself.  */
 
   /**
+   * @brief Creates a singular range object
+   */
+  _const_range_template()
+  {}
+
+  /**
    * @brief Creates a range object wrapping the given native container handle.
    */
   _const_range_template(native_handle_type handle)
@@ -370,6 +376,12 @@ struct _range_template : private std::conditional
   typedef typename _base_type::difference_type difference_type; /**< Type to 
represent the distance between two iterators. */
 
   /**
+   * @brief Creates a singular range object
+   */
+  _range_template()
+  {}
+
+  /**
    * @brief Creates a range object wrapping the given native container handle.
    */
   _range_template(native_handle_type handle)

-- 


Reply via email to