summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorPeter Kuemmel <syntheticpp@gmx.net>2012-06-14 16:02:20 (GMT)
committerPeter Kuemmel <syntheticpp@gmx.net>2012-06-14 16:02:43 (GMT)
commitf1aa026fb9bc5219a59a4c3a273023da51e50dbd (patch)
tree6f73cdbd6833564e9bb87a98278b9f987d2da65b /Source
parenteda30754781a3ef4d3a0e9fa72f1bade50bb6a94 (diff)
downloadCMake-f1aa026fb9bc5219a59a4c3a273023da51e50dbd.zip
CMake-f1aa026fb9bc5219a59a4c3a273023da51e50dbd.tar.gz
CMake-f1aa026fb9bc5219a59a4c3a273023da51e50dbd.tar.bz2
Ninja: build with old vc versions
Diffstat (limited to 'Source')
-rw-r--r--Source/cmGlobalNinjaGenerator.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmGlobalNinjaGenerator.cxx b/Source/cmGlobalNinjaGenerator.cxx
index 2c00e06..0c7da89 100644
--- a/Source/cmGlobalNinjaGenerator.cxx
+++ b/Source/cmGlobalNinjaGenerator.cxx
@@ -833,7 +833,7 @@ void cmGlobalNinjaGenerator::AddTargetAlias(const std::string& alias,
// Insert the alias into the map. If the alias was already present in the
// map and referred to another target, mark it as ambiguous.
std::pair<TargetAliasMap::iterator, bool> newAlias =
- TargetAliases.insert(make_pair(alias, target));
+ TargetAliases.insert(std::make_pair(alias, target));
if (newAlias.second && newAlias.first->second != target)
newAlias.first->second = 0;
}