Fix lossy conversion warning in wxString::reverse_iterator::operator-.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@77055 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
10740f2f67
commit
19e8a43827
@ -1041,7 +1041,7 @@ public:
|
|||||||
reverse_iterator_impl operator-=(ptrdiff_t n)
|
reverse_iterator_impl operator-=(ptrdiff_t n)
|
||||||
{ m_cur += n; return *this; }
|
{ m_cur += n; return *this; }
|
||||||
|
|
||||||
unsigned operator-(const reverse_iterator_impl& i) const
|
difference_type operator-(const reverse_iterator_impl& i) const
|
||||||
{ return i.m_cur - m_cur; }
|
{ return i.m_cur - m_cur; }
|
||||||
|
|
||||||
bool operator==(const reverse_iterator_impl& ri) const
|
bool operator==(const reverse_iterator_impl& ri) const
|
||||||
|
Loading…
Reference in New Issue
Block a user