IniFile: Make Section constructor explicit

This commit is contained in:
Lioncash 2017-03-22 18:07:23 -04:00
parent 9ea59133b3
commit 99adc73383
1 changed files with 1 additions and 1 deletions

View File

@ -30,7 +30,7 @@ public:
public: public:
Section() {} Section() {}
Section(const std::string& _name) : name(_name) {} explicit Section(const std::string& name_) : name(name_) {}
bool Exists(const std::string& key) const; bool Exists(const std::string& key) const;
bool Delete(const std::string& key); bool Delete(const std::string& key);