From 269ba9002a8eb47740ae0131e5c259ff1b61ffdd Mon Sep 17 00:00:00 2001 From: HJfod <60038575+HJfod@users.noreply.github.com> Date: Tue, 26 Mar 2024 21:21:37 +0200 Subject: [PATCH] make the defaulted comparison functions not constexpr for macos --- loader/src/ui/mods/UpdateModListState.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/loader/src/ui/mods/UpdateModListState.hpp b/loader/src/ui/mods/UpdateModListState.hpp index 6bf6a100..64065108 100644 --- a/loader/src/ui/mods/UpdateModListState.hpp +++ b/loader/src/ui/mods/UpdateModListState.hpp @@ -6,15 +6,15 @@ using namespace geode::prelude; struct UpdatePageNumberState final { - constexpr bool operator==(UpdatePageNumberState const&) const = default; + bool operator==(UpdatePageNumberState const&) const = default; }; struct UpdateWholeState final { - constexpr bool operator==(UpdateWholeState const&) const = default; + bool operator==(UpdateWholeState const&) const = default; }; struct UpdateModState final { std::string modID; inline explicit UpdateModState(std::string const& modID) : modID(modID) {}; - constexpr bool operator==(UpdateModState const&) const = default; + bool operator==(UpdateModState const&) const = default; }; using UpdateState = std::variant<UpdatePageNumberState, UpdateWholeState, UpdateModState>;