diff options
Diffstat (limited to 'Source/Core/Common/IniFile.h')
| -rw-r--r-- | Source/Core/Common/IniFile.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/Core/Common/IniFile.h b/Source/Core/Common/IniFile.h index abfb58b0a6..005f866f65 100644 --- a/Source/Core/Common/IniFile.h +++ b/Source/Core/Common/IniFile.h @@ -140,6 +140,10 @@ public: void SetLines(const char* sectionName, const std::vector<std::string> &lines); bool GetLines(const char* sectionName, std::vector<std::string>& lines, const bool remove_comments = true) const; + inline bool DeleteKey(const char* sectionName, const std::string& key) + { + return DeleteKey(sectionName, key.c_str()); + } bool DeleteKey(const char* sectionName, const char* key); bool DeleteSection(const char* sectionName); |
