aboutsummaryrefslogtreecommitdiff
path: root/src/configparser.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2021-04-18 04:37:51 +0100
committerGravatar Sadie Powell2021-04-18 04:58:28 +0100
commit569324feeecea939854e45bbd44495b849fcfd59 (patch)
tree38008340f746112ab17ebb8368f090aeac10aabd /src/configparser.cpp
parentMake the reason parameter to PartUser const. (diff)
Migrate collections from insert to emplace.
Diffstat (limited to 'src/configparser.cpp')
-rw-r--r--src/configparser.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/configparser.cpp b/src/configparser.cpp
index 12f6f6c26..2d173d650 100644
--- a/src/configparser.cpp
+++ b/src/configparser.cpp
@@ -308,7 +308,7 @@ struct Parser
}
else
{
- stack.output.insert(std::make_pair(name, tag));
+ stack.output.emplace(name, tag);
}
// this is not a leak; shared_ptr takes care of the delete
tag = NULL;