diff --git a/lib/matchcompiler.h b/lib/matchcompiler.h index 230453362a1..e530276c1f5 100644 --- a/lib/matchcompiler.h +++ b/lib/matchcompiler.h @@ -27,7 +27,7 @@ namespace MatchCompiler { template class ConstString { public: - typedef const char(&StringRef)[n]; + using StringRef = const char (&)[n]; explicit ConstString(StringRef s) : _s(s) {} @@ -46,7 +46,7 @@ namespace MatchCompiler { } template<> - inline bool equalN<0>(const char[], const char[]) + inline bool equalN<0>(const char /*s1*/[], const char /*s2*/[]) { return true; }