#33 fixed, taskforce delete should be normal now .

This commit is contained in:
Zero Fanker 2024-06-06 00:16:38 -04:00
parent 9cddabbb3a
commit 5cb110d9e5
2 changed files with 25 additions and 15 deletions

View file

@ -324,6 +324,12 @@ public:
this->SetString(section, key, INIHelper::ToString(value));
}
void RemoveValue(const CString& section, const CString& value) {
if (auto pSec = this->TryGetSection(section)) {
pSec->RemoveValue(value);
}
}
void RemoveValueByKey(const CString& section, const CString& key) {
if (auto pSec = this->TryGetSection(section)) {
pSec->RemoveByKey(key);