cli: added 'explicit'-keyword in CmdLineParser and PathMatch ctor
This commit is contained in:
parent
b18778129c
commit
ac22f3b798
|
@ -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.
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue