cli: added 'explicit'-keyword in CmdLineParser and PathMatch ctor

This commit is contained in:
Ettl Martin 2011-10-31 23:40:37 +01:00
parent b18778129c
commit ac22f3b798
2 changed files with 2 additions and 2 deletions

View File

@ -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.

View File

@ -35,7 +35,7 @@ public:
* The constructor.
* @param masks List of masks.
*/
PathMatch(const std::vector<std::string> &masks);
explicit PathMatch(const std::vector<std::string> &masks);
/**
* @brief Match path against list of masks.