diff options
author | geni <me@geni.site> | 2021-12-31 14:41:53 +0200 |
---|---|---|
committer | geni <me@geni.site> | 2021-12-31 14:41:53 +0200 |
commit | 07fbef738274518dfcc60da3a624d03eb09dc015 (patch) | |
tree | 6c6ede533cb1fe461d59bb8eeb3041cd29c2a5b1 /NorthstarDedicatedTest/convar.cpp | |
parent | ae2f240d4f5e0d0c6da777838a42bd3e457d2711 (diff) | |
download | NorthstarLauncher-07fbef738274518dfcc60da3a624d03eb09dc015.tar.gz NorthstarLauncher-07fbef738274518dfcc60da3a624d03eb09dc015.zip |
Clean up
Diffstat (limited to 'NorthstarDedicatedTest/convar.cpp')
-rw-r--r-- | NorthstarDedicatedTest/convar.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/NorthstarDedicatedTest/convar.cpp b/NorthstarDedicatedTest/convar.cpp index ed7e8dac..de460662 100644 --- a/NorthstarDedicatedTest/convar.cpp +++ b/NorthstarDedicatedTest/convar.cpp @@ -20,7 +20,7 @@ ConVar* RegisterConVar(const char* name, const char* defaultValue, int flags, co ConVar* newVar = new ConVar; conVarConstructor(newVar, name, defaultValue, flags, helpString); - g_CustomConvars.insert(std::make_pair(name, newVar)); + g_CustomConvars.emplace(name, newVar); return newVar; } |