From 63a3f2a616a41e502f65bd0a64f72c13f1ed20f0 Mon Sep 17 00:00:00 2001 From: Evert Prants Date: Sun, 19 Jan 2025 14:09:41 +0200 Subject: [PATCH] Local build fixes --- source/CMakePresets.json | 2 +- source/core/StarPythonic.hpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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; }