fixed operator[] in wxUSE_STL build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39110 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
ed8219a5e0
commit
af867f957d
@ -262,9 +262,9 @@ private:
|
||||
std::advance( i, idx ); \
|
||||
return compatibility_iterator( this, i ); \
|
||||
} \
|
||||
compatibility_iterator operator[](size_t idx) const \
|
||||
elT operator[](size_t idx) const \
|
||||
{ \
|
||||
return Item(idx); \
|
||||
return Item(idx).GetData(); \
|
||||
} \
|
||||
\
|
||||
compatibility_iterator GetFirst() const \
|
||||
|
Loading…
Reference in New Issue
Block a user