mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-10-02 04:02:23 +03:00
Fix Xcode 6.1.1 compilation issue
This commit is contained in:
1 parent
1009fd1860
commit
1ff1f75718
1 file changed
+1
-4
@@ -342,10 +342,7 @@ void cmRuntimeDependencyArchive::AddResolvedPath(const std::string& name,
|
||||
const std::string& path,
|
||||
bool& unique)
|
||||
{
|
||||
auto it =
|
||||
this->ResolvedPaths
|
||||
.insert(std::pair<std::string, std::set<std::string>>{ name, {} })
|
||||
.first;
|
||||
auto it = this->ResolvedPaths.emplace(name, std::set<std::string>{}).first;
|
||||
unique = true;
|
||||
for (auto const& other : it->second) {
|
||||
if (cmSystemTools::SameFile(path, other)) {
|
||||
|
||||
Reference in new issue
Block a user