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/LibRegex | |
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/LibRegex')
-rw-r--r-- | Userland/Libraries/LibRegex/RegexMatcher.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Userland/Libraries/LibRegex/RegexMatcher.h b/Userland/Libraries/LibRegex/RegexMatcher.h index c6a30ff7be..4be02b2ec1 100644 --- a/Userland/Libraries/LibRegex/RegexMatcher.h +++ b/Userland/Libraries/LibRegex/RegexMatcher.h @@ -23,8 +23,8 @@ namespace regex { -static constexpr size_t c_max_recursion = 5000; -static constexpr size_t c_match_preallocation_count = 0; +static const constexpr size_t c_max_recursion = 5000; +static const constexpr size_t c_match_preallocation_count = 0; struct RegexResult final { bool success { false }; |