From 315bf46f08a0bfbbf30b42a6ebb28cbfb85724ed Mon Sep 17 00:00:00 2001 From: HJfod <60038575+HJfod@users.noreply.github.com> Date: Sun, 19 Jan 2025 13:44:20 +0200 Subject: [PATCH] fix enable-if unop parsing --- CHANGELOG.md | 3 +++ VERSION | 2 +- loader/src/loader/SettingV3.cpp | 1 + 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5eed5ab10..50ae9b37e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,8 @@ # Geode Changelog +## v4.2.1 + * Fix settings `enable-if` parsing + ## v4.2.0 * Implement gd::set for android (#1197, #1207) * Log levels for console and file logging (#1208) diff --git a/VERSION b/VERSION index 6aba2b245..fae6e3d04 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -4.2.0 +4.2.1 diff --git a/loader/src/loader/SettingV3.cpp b/loader/src/loader/SettingV3.cpp index b469c336c..72dbf3494 100644 --- a/loader/src/loader/SettingV3.cpp +++ b/loader/src/loader/SettingV3.cpp @@ -322,6 +322,7 @@ namespace enable_if_parsing { std::string op; if (auto peek = this->peekWord()) { if (isUnOpWord(*peek)) { + (void)this->nextWord(); op = *peek; } }