forked from enlightenment/efl
cxx: Initialize _list and _node with nullptr
Fixes CID 1409576 pointing that _node was unitialized. Reviewed-by: Stefan Schmidt <stefan@datenfreihafen.org> Reviewed-by: Felipe Magno de Almeida <felipe@expertisesolutions.com.br> Differential Revision: https://phab.enlightenment.org/D11770
This commit is contained in:
parent
5801bc07f5
commit
de939ca64b
|
@ -53,7 +53,7 @@ struct _ptr_list_iterator_base
|
|||
typedef std::ptrdiff_t difference_type;
|
||||
typedef std::bidirectional_iterator_tag iterator_category;
|
||||
|
||||
_ptr_list_iterator_base() : _list(0) {}
|
||||
_ptr_list_iterator_base() : _list(nullptr), _node(nullptr) {}
|
||||
_ptr_list_iterator_base(Eina_List* list, Eina_List* node)
|
||||
: _list(list), _node(node)
|
||||
{}
|
||||
|
|
Loading…
Reference in New Issue