Fixed windows compilation.
This commit is contained in:
parent
5f0e6e9726
commit
81f4c33508
@ -89,7 +89,10 @@ public:
|
|||||||
ScriptValue& operator=(const ScriptValue&) = default;
|
ScriptValue& operator=(const ScriptValue&) = default;
|
||||||
ScriptValue& operator=(ScriptValue&&) MIJIN_NOEXCEPT = default;
|
ScriptValue& operator=(ScriptValue&&) MIJIN_NOEXCEPT = default;
|
||||||
|
|
||||||
std::partial_ordering operator<=>(const ScriptValue& other) const = default;
|
// MSVC doesn't like this :/ (internal compiler error)
|
||||||
|
// std::partial_ordering operator<=>(const ScriptValue& other) const = default;
|
||||||
|
bool operator==(const ScriptValue& other) const MIJIN_NOEXCEPT { return base_ == other.base_; }
|
||||||
|
bool operator!=(const ScriptValue& other) const MIJIN_NOEXCEPT { return base_ != other.base_; }
|
||||||
|
|
||||||
[[nodiscard]]
|
[[nodiscard]]
|
||||||
bool isUndefined() const noexcept
|
bool isUndefined() const noexcept
|
||||||
|
@ -9,6 +9,7 @@
|
|||||||
#include <span>
|
#include <span>
|
||||||
#include <string_view>
|
#include <string_view>
|
||||||
#include <tuple>
|
#include <tuple>
|
||||||
|
#include <type_traits>
|
||||||
#include <variant>
|
#include <variant>
|
||||||
#include "../container/optional.hpp"
|
#include "../container/optional.hpp"
|
||||||
#include "../internal/common.hpp"
|
#include "../internal/common.hpp"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user