summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMaxime Coste <mawww@kakoune.org>2017-10-23 17:29:03 +0800
committerMaxime Coste <mawww@kakoune.org>2017-11-01 14:05:15 +0800
commitc74becc6afa43fd29480486a473b84f3770810ac (patch)
tree487c1807f9adb42a3b479f259765c96659bd3aa8 /src
parent2d901dc76fc9a6c49f14a982d3afd13626ef3445 (diff)
Regex: fix RegexCompileFlags not being an enum class
Diffstat (limited to 'src')
-rw-r--r--src/regex_impl.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/regex_impl.hh b/src/regex_impl.hh
index 7a73526c..fcedb2bd 100644
--- a/src/regex_impl.hh
+++ b/src/regex_impl.hh
@@ -83,7 +83,7 @@ struct CompiledRegex : RefCountable, UseMemoryDomain<MemoryDomain::Regex>
std::unique_ptr<StartChars> start_chars;
};
-enum RegexCompileFlags
+enum class RegexCompileFlags
{
None = 0,
NoSubs = 1 << 0,