From ac22f3b79876136f7e98bc49f36602cd206e91fc Mon Sep 17 00:00:00 2001 From: Ettl Martin Date: Mon, 31 Oct 2011 23:40:37 +0100 Subject: [PATCH] cli: added 'explicit'-keyword in CmdLineParser and PathMatch ctor --- cli/cmdlineparser.h | 2 +- cli/pathmatch.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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.