forked from lix-project/lix
BaseSetting<StringMap>::set(): Don't append to previous value
This commit is contained in:
parent
b875b8f45c
commit
14aecbb288
1 changed files with 1 additions and 0 deletions
|
@ -270,6 +270,7 @@ template<> std::string BaseSetting<StringSet>::to_string() const
|
||||||
|
|
||||||
template<> void BaseSetting<StringMap>::set(const std::string & str)
|
template<> void BaseSetting<StringMap>::set(const std::string & str)
|
||||||
{
|
{
|
||||||
|
value.clear();
|
||||||
auto kvpairs = tokenizeString<Strings>(str);
|
auto kvpairs = tokenizeString<Strings>(str);
|
||||||
for (auto & s : kvpairs)
|
for (auto & s : kvpairs)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue