summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibRegex/RegexMatcher.h
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Libraries/LibRegex/RegexMatcher.h')
-rw-r--r--Userland/Libraries/LibRegex/RegexMatcher.h4
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 };