diff options
| author | 2021-12-16 14:17:56 +0000 | |
|---|---|---|
| committer | 2021-12-16 14:17:56 +0000 | |
| commit | 029e047f9925aca9f781604447c9a30498575993 (patch) | |
| tree | f16e1a5617dc545ea0acf58b0d002dc422125d5f /src/modules/m_regex_stdlib.cpp | |
| parent | Make upper case regex flags remove the flag if previously set. (diff) | |
Mark Regex::Engine::Create{Human,} as const.
Diffstat (limited to 'src/modules/m_regex_stdlib.cpp')
| -rw-r--r-- | src/modules/m_regex_stdlib.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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<StdLibPattern>(pattern, options, regextype); } |
