diff options
-rw-r--r-- | source/core/StarPythonic.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/core/StarPythonic.hpp b/source/core/StarPythonic.hpp index a5f76dc..1248b72 100644 --- a/source/core/StarPythonic.hpp +++ b/source/core/StarPythonic.hpp @@ -384,13 +384,13 @@ public: RangeIterator operator++(int) { RangeIterator tmp(*this); - ++this; + ++(*this); return tmp; } RangeIterator operator--(int) { RangeIterator tmp(*this); - --this; + --(*this); return tmp; } |