From c8f8a5a6c522fcd18b2ca42d4345bc9be115abd3 Mon Sep 17 00:00:00 2001 From: Even Rouault Date: Thu, 6 Feb 2020 23:33:38 +0100 Subject: Fix cppcheck warnings and make it work with latest cppcheck 1.90 --- src/apps/projsync.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/apps/projsync.cpp') diff --git a/src/apps/projsync.cpp b/src/apps/projsync.cpp index 3fab38e1..40848f51 100644 --- a/src/apps/projsync.cpp +++ b/src/apps/projsync.cpp @@ -52,7 +52,7 @@ class ParsingException : public std::exception { std::string msg_; public: - ParsingException(const char *msg) : msg_(msg) {} + explicit ParsingException(const char *msg) : msg_(msg) {} const char *what() const noexcept override { return msg_.c_str(); } }; } -- cgit v1.2.3