minor style tweak
This commit is contained in:
parent
c698032ace
commit
15542c3357
|
@ -86,8 +86,7 @@ template<typename Key, typename Value>
|
||||||
void option_from_string(StringView str, UnorderedMap<Key, Value>& opt)
|
void option_from_string(StringView str, UnorderedMap<Key, Value>& opt)
|
||||||
{
|
{
|
||||||
opt.clear();
|
opt.clear();
|
||||||
std::vector<String> elems = split(str, list_separator, '\\');
|
for (auto& elem : split(str, list_separator, '\\'))
|
||||||
for (auto& elem: elems)
|
|
||||||
{
|
{
|
||||||
std::vector<String> pair_str = split(elem, '=', '\\');
|
std::vector<String> pair_str = split(elem, '=', '\\');
|
||||||
if (pair_str.size() != 2)
|
if (pair_str.size() != 2)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user