diff options
| author | 2021-04-18 04:37:51 +0100 | |
|---|---|---|
| committer | 2021-04-18 04:58:28 +0100 | |
| commit | 569324feeecea939854e45bbd44495b849fcfd59 (patch) | |
| tree | 38008340f746112ab17ebb8368f090aeac10aabd /src/configparser.cpp | |
| parent | Make the reason parameter to PartUser const. (diff) | |
Migrate collections from insert to emplace.
Diffstat (limited to 'src/configparser.cpp')
| -rw-r--r-- | src/configparser.cpp | 2 |
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; |
