From c74becc6afa43fd29480486a473b84f3770810ac Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Mon, 23 Oct 2017 17:29:03 +0800 Subject: [PATCH] Regex: fix RegexCompileFlags not being an enum class --- src/regex_impl.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 std::unique_ptr start_chars; }; -enum RegexCompileFlags +enum class RegexCompileFlags { None = 0, NoSubs = 1 << 0,