From 029e047f9925aca9f781604447c9a30498575993 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Thu, 16 Dec 2021 14:17:56 +0000 Subject: Mark Regex::Engine::Create{Human,} as const. --- src/modules/m_regex_stdlib.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules/m_regex_stdlib.cpp') diff --git a/src/modules/m_regex_stdlib.cpp b/src/modules/m_regex_stdlib.cpp index c1c181dc6..580934400 100644 --- a/src/modules/m_regex_stdlib.cpp +++ b/src/modules/m_regex_stdlib.cpp @@ -67,7 +67,7 @@ class StdLibEngine final { } - Regex::PatternPtr Create(const std::string& pattern, uint8_t options) override + Regex::PatternPtr Create(const std::string& pattern, uint8_t options) const override { return std::make_shared(pattern, options, regextype); } -- cgit v1.3.1-10-gc9f91