Config: std::move string into EnvMap

Same behavior, but without a reallocation.
This commit is contained in:
Lioncache committed 2025-10-09 14:57:00 -04:00
1 parent acdbbec78d
commit dbc4daaaa4
1 file changed
+1 -1
+1 -1
View File
@@ -277,7 +277,7 @@ void EnvLoader::Load() {
#include <FEXCore/Config/ConfigOptions.inl>
if (Value) {
EnvMap.insert_or_assign(Key, *Value);
EnvMap.insert_or_assign(Key, std::move(*Value));
} else {
EnvMap.insert_or_assign(Key, Value_View);
}