Commit dfa5a036 authored by mercury233's avatar mercury233

fix operator-= in irrUString

parent 0bd5ed15
...@@ -197,7 +197,7 @@ public: ...@@ -197,7 +197,7 @@ public:
//! \return Myself. //! \return Myself.
_Iter& operator-=(const difference_type v) { _Iter& operator-=(const difference_type v) {
if(v == 0) return *this; if(v == 0) return *this;
if(v > 0) return operator+=(v * -1); if(v < 0) return operator+=(-v);
if(pos == 0) if(pos == 0)
return *this; return *this;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment