Веб-сайт самохостера Lotigara

summaryrefslogtreecommitdiff
path: root/source/core/StarPythonic.hpp
diff options
context:
space:
mode:
authorIsaacClark69 <74121077+IsaacClark69@users.noreply.github.com>2025-05-29 09:17:14 +0200
committerGitHub <noreply@github.com>2025-05-29 09:17:14 +0200
commitfb661a7d9826ab965d8c1a9107e02be5266bee89 (patch)
treef59a13b5d1286227d9740a36de7ec64f1d481ad4 /source/core/StarPythonic.hpp
parentc36f91a7c4b7a4cb1dacc11acdcc2f024b7c2fd6 (diff)
Update StarPythonic.hpp
https://github.com/OpenStarbound/OpenStarbound/issues/249
Diffstat (limited to 'source/core/StarPythonic.hpp')
-rw-r--r--source/core/StarPythonic.hpp4
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;
}