From: Václav Slavík Date: Tue, 3 Apr 2007 10:06:08 +0000 (+0000) Subject: compilation fix for BCC5.5 X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/50eeb96fbe4ed5a40e92d7e7783d736ab860117d compilation fix for BCC5.5 git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45234 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/string.h b/include/wx/string.h index 09cca2799c..3efcab7b9f 100644 --- a/include/wx/string.h +++ b/include/wx/string.h @@ -721,14 +721,15 @@ public: reverse_iterator_impl operator--(int) { reverse_iterator_impl tmp = *this; ++m_cur; return tmp; } + // NB: explicit in the functions below is to keep BCC 5.5 happy reverse_iterator_impl operator+(int n) const - { return reverse_iterator_impl(m_cur - n); } + { return reverse_iterator_impl(m_cur - n); } reverse_iterator_impl operator+(size_t n) const - { return reverse_iterator_impl(m_cur - n); } + { return reverse_iterator_impl(m_cur - n); } reverse_iterator_impl operator-(int n) const - { return reverse_iterator_impl(m_cur + n); } + { return reverse_iterator_impl(m_cur + n); } reverse_iterator_impl operator-(size_t n) const - { return reverse_iterator_impl(m_cur + n); } + { return reverse_iterator_impl(m_cur + n); } reverse_iterator_impl operator+=(int n) { m_cur -= n; return *this; } reverse_iterator_impl operator+=(size_t n)