diff --git a/cli/cppcheckexecutor.cpp b/cli/cppcheckexecutor.cpp index 8b7678adf..2c87571ac 100644 --- a/cli/cppcheckexecutor.cpp +++ b/cli/cppcheckexecutor.cpp @@ -190,7 +190,7 @@ int CppCheckExecutor::check(int argc, const char* const argv[]) * \return size of array * */ template -constexpr size_t GetArrayLength(const T(&)[size]) +std::size_t GetArrayLength(const T(&)[size]) { return size; }