mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-10 08:16:15 +02:00
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)
|
||||
{
|
||||
value.clear();
|
||||
auto kvpairs = tokenizeString<Strings>(str);
|
||||
for (auto & s : kvpairs)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue