diff --git a/source/CMakePresets.json b/source/CMakePresets.json index 46ebbb7..465e035 100644 --- a/source/CMakePresets.json +++ b/source/CMakePresets.json @@ -17,7 +17,7 @@ "VCPKG_OVERLAY_TRIPLETS": "${sourceParentDir}/triplets", "CMAKE_VERBOSE_MAKEFILE": true, "BUILD_TESTING": true, - "STAR_ENABLE_STEAM_INTEGRATION": false, + "STAR_ENABLE_STEAM_INTEGRATION": true, "STAR_ENABLE_DISCORD_INTEGRATION": false } }, diff --git a/source/core/StarPythonic.hpp b/source/core/StarPythonic.hpp index a5f76dc..4099c23 100644 --- a/source/core/StarPythonic.hpp +++ b/source/core/StarPythonic.hpp @@ -384,13 +384,13 @@ public: RangeIterator operator++(int) { RangeIterator tmp(*this); - ++this; + tmp += 1; return tmp; } RangeIterator operator--(int) { RangeIterator tmp(*this); - --this; + tmp -= 1; return tmp; }