diff --git a/components/fallback/validate.hpp b/components/fallback/validate.hpp index a1d3f9601..cef52e462 100644 --- a/components/fallback/validate.hpp +++ b/components/fallback/validate.hpp @@ -39,10 +39,7 @@ namespace Fallback std::string key(temp.substr(0, sep)); std::string value(temp.substr(sep + 1)); - if (map->mMap.find(key) == map->mMap.end()) - { - map->mMap.insert(std::make_pair(key, value)); - } + map->mMap[key] = value; } } }