Fix self-check warning

This commit is contained in:
Daniel Marjamäki 2021-08-09 09:55:24 +02:00
parent a218ea3b23
commit 94e8a69a9b
1 changed files with 1 additions and 2 deletions

View File

@ -33,11 +33,10 @@ struct Analyzer {
Action() : mFlag(0) {}
// cppcheck-suppress noExplicitConstructor
template<class T,
REQUIRES("T must be convertible to unsigned int", std::is_convertible<T, unsigned int> ),
REQUIRES("T must not be a bool", !std::is_same<T, bool> )>
Action(T f) : mFlag(f)
Action(T f) : mFlag(f) // cppcheck-suppress noExplicitConstructor
{}
enum {