summaryrefslogtreecommitdiff
path: root/apt-pkg/contrib/gpgv.cc
diff options
context:
space:
mode:
Diffstat (limited to 'apt-pkg/contrib/gpgv.cc')
-rw-r--r--apt-pkg/contrib/gpgv.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/apt-pkg/contrib/gpgv.cc b/apt-pkg/contrib/gpgv.cc
index c6eabc690..b555331d6 100644
--- a/apt-pkg/contrib/gpgv.cc
+++ b/apt-pkg/contrib/gpgv.cc
@@ -157,7 +157,7 @@ static bool CheckGPGV(std::unordered_map<std::string, std::forward_list<std::str
{
if (unlikely(Debug))
std::clog << "Read line: " << line << std::endl;
- checkedCommands[gpgv].push_front(APT::String::Strip(line));
+ checkedCommands[gpgv].emplace_front(APT::String::Strip(line));
}
dumpOptions.Close();
waitpid(child, NULL, 0);