IniFile: Make Section constructor explicit

This commit is contained in:
Lioncash 2017-03-22 18:07:23 -04:00
parent 9ea59133b3
commit 99adc73383

View File

@ -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);