diff --git a/External/FEXCore/Source/Interface/Config/Config.cpp b/External/FEXCore/Source/Interface/Config/Config.cpp index cefad1dc4..a52a6b750 100644 --- a/External/FEXCore/Source/Interface/Config/Config.cpp +++ b/External/FEXCore/Source/Interface/Config/Config.cpp @@ -89,7 +89,7 @@ namespace FEXCore::Config { auto Value = std::string(EnvVar.begin() + ItEq + 1, EnvVar.end()); // Add the key to the map, overwriting whatever previous value was there - LookupMap.emplace(std::move(Key), std::move(Value)); + LookupMap.insert_or_assign(std::move(Key), std::move(Value)); } };