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
|
* @param settings Settings instance that will be modified according to
|
||||||
* options user has given.
|
* options user has given.
|
||||||
*/
|
*/
|
||||||
CmdLineParser(Settings *settings);
|
explicit CmdLineParser(Settings *settings);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Parse given command line.
|
* Parse given command line.
|
||||||
|
|
|
@ -35,7 +35,7 @@ public:
|
||||||
* The constructor.
|
* The constructor.
|
||||||
* @param masks List of masks.
|
* @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.
|
* @brief Match path against list of masks.
|
||||||
|
|
Loading…
Reference in New Issue