mirror of
https://github.com/geode-sdk/geode.git
synced 2025-03-19 17:39:50 -04:00
make the defaulted comparison functions not constexpr for macos
This commit is contained in:
parent
575a7cb7e0
commit
269ba9002a
1 changed files with 3 additions and 3 deletions
|
@ -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>;
|
||||
|
||||
|
|
Loading…
Reference in a new issue