BaseSetting<StringMap>::set(): Don't append to previous value

This commit is contained in:
Eelco Dolstra 2020-10-26 20:36:46 +01:00
parent b875b8f45c
commit 14aecbb288

View file

@ -270,6 +270,7 @@ template<> std::string BaseSetting<StringSet>::to_string() const
template<> void BaseSetting<StringMap>::set(const std::string & str)
{
value.clear();
auto kvpairs = tokenizeString<Strings>(str);
for (auto & s : kvpairs)
{