diff options
author | Linus Groh <mail@linusgroh.de> | 2021-05-21 10:30:21 +0100 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2021-05-21 10:30:52 +0100 |
commit | d60ebbbba6429bf7f3ce58783acd8232d487d4b9 (patch) | |
tree | ea37facb5b78f0bd73402bcc2a869c2ee4b9528a /Userland/Libraries/LibJS/Runtime/Value.cpp | |
parent | 68f76b9e3750c8f4e5e3ee8c3d346772ce6d3593 (diff) | |
download | serenity-d60ebbbba6429bf7f3ce58783acd8232d487d4b9.zip |
Revert "Userland: static vs non-static constexpr variables"
This reverts commit 800ea8ea969835297dc7e7da345a45b9dc5e751a.
Booting the system no longer worked after these changes.
Diffstat (limited to 'Userland/Libraries/LibJS/Runtime/Value.cpp')
-rw-r--r-- | Userland/Libraries/LibJS/Runtime/Value.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibJS/Runtime/Value.cpp b/Userland/Libraries/LibJS/Runtime/Value.cpp index fef9fb123b..98a8c0eec2 100644 --- a/Userland/Libraries/LibJS/Runtime/Value.cpp +++ b/Userland/Libraries/LibJS/Runtime/Value.cpp @@ -37,7 +37,7 @@ namespace JS { // Used in various abstract operations to make it obvious when a non-optional return value must be discarded. -static constexpr double INVALID { 0 }; +static const double INVALID { 0 }; static inline bool same_type_for_equality(const Value& lhs, const Value& rhs) { |