From 65d721285b3e87d5dee660fcf6caa5fe4c94758b Mon Sep 17 00:00:00 2001 From: orignal Date: Sun, 20 Nov 2016 08:33:33 -0500 Subject: [PATCH] fixed build error for some compilers --- Garlic.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Garlic.cpp b/Garlic.cpp index 290b9b79..94ca82eb 100644 --- a/Garlic.cpp +++ b/Garlic.cpp @@ -274,7 +274,7 @@ namespace garlic if (newTags) // new tags created { newTags->msgID = msgID; - m_UnconfirmedTagsMsgs.emplace (msgID, std::unique_ptr(newTags)); + m_UnconfirmedTagsMsgs.insert (std::make_pair(msgID, std::unique_ptr(newTags))); newTags = nullptr; // got acquired } m_Owner->DeliveryStatusSent (shared_from_this (), msgID);