Remove use of std::map<>::emplace which is not supported on some older versions of...
[oota-llvm.git] / lib / DebugInfo / Symbolize / Symbolize.cpp
index 6c81ec632837bc2bfbb4e66a28b404c47221a5a7..aa24dd945d15bd3a035a8a162befbd6b3f8cee48 100644 (file)
@@ -530,7 +530,7 @@ LLVMSymbolizer::getOrCreateModuleInfo(const std::string &ModuleName) {
 
   if (!Objects.first) {
     // Failed to find valid object file.
-    Modules.emplace(ModuleName, nullptr);
+    Modules.insert(make_pair(ModuleName, nullptr));
     return nullptr;
   }
   std::unique_ptr<DIContext> Context;