We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b187781 commit ac22f3bCopy full SHA for ac22f3b
2 files changed
cli/cmdlineparser.h
@@ -43,7 +43,7 @@ class CmdLineParser {
43
* @param settings Settings instance that will be modified according to
44
* options user has given.
45
*/
46
- CmdLineParser(Settings *settings);
+ explicit CmdLineParser(Settings *settings);
47
48
/**
49
* Parse given command line.
cli/pathmatch.h
@@ -35,7 +35,7 @@ class PathMatch {
35
* The constructor.
36
* @param masks List of masks.
37
38
- PathMatch(const std::vector<std::string> &masks);
+ explicit PathMatch(const std::vector<std::string> &masks);
39
40
41
* @brief Match path against list of masks.
0 commit comments