fixed ini set mistake according to UT.

This commit is contained in:
Zero Fanker 2024-04-13 11:21:20 -04:00
parent e9a9e470eb
commit a2571dfc0f

View file

@ -326,7 +326,7 @@ public:
}
auto&& newSec = CIniFileSection{};
newSec.SetString(key, value);
ASSERT(sections.insert({ key, std::move(newSec) }).second == true);
ASSERT(sections.insert({ section, std::move(newSec) }).second == true);
}
void SetString(const CString& section, const CString& key, const CString& value) {