We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9d1bb5a commit dac6671Copy full SHA for dac6671
1 file changed
lib/matchcompiler.h
@@ -27,7 +27,7 @@ namespace MatchCompiler {
27
template<unsigned int n>
28
class ConstString {
29
public:
30
- typedef const char(&StringRef)[n];
+ using StringRef = const char (&)[n];
31
explicit ConstString(StringRef s)
32
: _s(s) {}
33
@@ -46,7 +46,7 @@ namespace MatchCompiler {
46
}
47
48
template<>
49
- inline bool equalN<0>(const char[], const char[])
+ inline bool equalN<0>(const char /*s1*/[], const char /*s2*/[])
50
{
51
return true;
52
0 commit comments