diff --git a/cli/cmdlineparser.h b/cli/cmdlineparser.h index ef8c11c38..74160c40d 100644 --- a/cli/cmdlineparser.h +++ b/cli/cmdlineparser.h @@ -43,7 +43,7 @@ public: * @param settings Settings instance that will be modified according to * options user has given. */ - CmdLineParser(Settings *settings); + explicit CmdLineParser(Settings *settings); /** * Parse given command line. diff --git a/cli/pathmatch.h b/cli/pathmatch.h index 9def070f8..411a79419 100644 --- a/cli/pathmatch.h +++ b/cli/pathmatch.h @@ -35,7 +35,7 @@ public: * The constructor. * @param masks List of masks. */ - PathMatch(const std::vector &masks); + explicit PathMatch(const std::vector &masks); /** * @brief Match path against list of masks.