From 1d2b58e828373e73c43e0a447a2426c4bb7d7c84 Mon Sep 17 00:00:00 2001 From: Ayaz Salikhov Date: Thu, 7 Sep 2017 14:03:45 +0300 Subject: [PATCH] Correctify explicit usage (#951) --- lib/check.h | 2 +- lib/preprocessor.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/check.h b/lib/check.h index 630e94380..2b75e6802 100644 --- a/lib/check.h +++ b/lib/check.h @@ -188,7 +188,7 @@ private: /** disabled assignment operator and copy constructor */ void operator=(const Check &); - explicit Check(const Check &); + Check(const Check &); }; /// @} diff --git a/lib/preprocessor.h b/lib/preprocessor.h index b3fdb0b35..3784580ad 100644 --- a/lib/preprocessor.h +++ b/lib/preprocessor.h @@ -81,7 +81,7 @@ public: /** character that is inserted in expanded macros */ static char macroChar; - Preprocessor(Settings& settings, ErrorLogger *errorLogger = nullptr); + explicit Preprocessor(Settings& settings, ErrorLogger *errorLogger = nullptr); virtual ~Preprocessor(); static bool missingIncludeFlag;