diff --git a/Source/Common/Config.cpp b/Source/Common/Config.cpp index dc58a5e26..7b9b9adf3 100644 --- a/Source/Common/Config.cpp +++ b/Source/Common/Config.cpp @@ -277,7 +277,7 @@ void EnvLoader::Load() { #include if (Value) { - EnvMap.insert_or_assign(Key, *Value); + EnvMap.insert_or_assign(Key, std::move(*Value)); } else { EnvMap.insert_or_assign(Key, Value_View); }