From 1ff1f757182139914aa2d3d4e51509ef89f48241 Mon Sep 17 00:00:00 2001 From: Raffi Enficiaud Date: Tue, 25 Jun 2019 17:13:45 +0200 Subject: Fix Xcode 6.1.1 compilation issue --- Source/cmRuntimeDependencyArchive.cxx | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/Source/cmRuntimeDependencyArchive.cxx b/Source/cmRuntimeDependencyArchive.cxx index b4c6c32..a1d1f95 100644 --- a/Source/cmRuntimeDependencyArchive.cxx +++ b/Source/cmRuntimeDependencyArchive.cxx @@ -342,10 +342,7 @@ void cmRuntimeDependencyArchive::AddResolvedPath(const std::string& name, const std::string& path, bool& unique) { - auto it = - this->ResolvedPaths - .insert(std::pair>{ name, {} }) - .first; + auto it = this->ResolvedPaths.emplace(name, std::set{}).first; unique = true; for (auto const& other : it->second) { if (cmSystemTools::SameFile(path, other)) { -- cgit v0.12