forked from enlightenment/efl
eina-cxx: Fix compilation error on clang
Clang implicitly deletes the default-constructor on range_ptrlist, which must be explicitly defined.
This commit is contained in:
parent
b55a8104ad
commit
eaa6961378
|
@ -282,6 +282,12 @@ struct range_ptr_list : _range_template<T, _ptr_list_access_traits>
|
|||
typedef typename _base_type::value_type value_type; /**< The type of each element. */
|
||||
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.
|
||||
*/
|
||||
|
|
|
@ -37,6 +37,12 @@ struct _const_range_template
|
|||
typedef typename Traits::template const_native_handle<T>::type native_handle_type; /**< Type for the native handle of the container. */
|
||||
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.
|
||||
*/
|
||||
|
@ -369,6 +375,12 @@ struct _range_template : private std::conditional
|
|||
typedef typename _base_type::size_type size_type; /**< Type for size information. */
|
||||
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.
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue