diff options
-rw-r--r-- | Alc/alconfig.cpp | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/Alc/alconfig.cpp b/Alc/alconfig.cpp index db5251f0..710c790c 100644 --- a/Alc/alconfig.cpp +++ b/Alc/alconfig.cpp @@ -54,11 +54,6 @@ namespace { struct ConfigEntry { std::string key; std::string value; - - template<typename T0, typename T1> - ConfigEntry(T0&& key_, T1&& val_) - : key{std::forward<T0>(key_)}, value{std::forward<T1>(val_)} - { } }; al::vector<ConfigEntry> ConfOpts; @@ -272,7 +267,7 @@ void LoadConfigFromFile(std::istream &f) ent->value = expdup(value); else { - ConfOpts.emplace_back(std::move(fullKey), expdup(value)); + ConfOpts.emplace_back(ConfigEntry{std::move(fullKey), expdup(value)}); ent = ConfOpts.end()-1; } |