added conversion ctor to create const_iterator from iterator, otherwise assigning the return value of begin() called on a non-const object to a const_iteator didn't work
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39112 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
6d50343d87
commit
cd4e32afe7
@ -202,6 +202,7 @@ public: \
|
||||
{ \
|
||||
public: \
|
||||
const_iterator() : Iterator() {} \
|
||||
const_iterator(iterator i) : Iterator(i) {} \
|
||||
const_iterator( Node* node, const Self* ht ) \
|
||||
: Iterator( node, (Self*)ht ) {} \
|
||||
const_iterator& operator++() { PlusPlus();return *this; } \
|
||||
|
Loading…
Reference in New Issue
Block a user