IniFile: Make Section constructor explicit
This commit is contained in:
1 parent
9ea59133b3
commit
99adc73383
1 file changed
+1
-1
@@ -30,7 +30,7 @@ public:
|
||||
|
||||
public:
|
||||
Section() {}
|
||||
Section(const std::string& _name) : name(_name) {}
|
||||
explicit Section(const std::string& name_) : name(name_) {}
|
||||
bool Exists(const std::string& key) const;
|
||||
bool Delete(const std::string& key);
|
||||
|
||||
|
||||
Reference in new issue
Block a user