Ninja: build with old vc versions

This commit is contained in:
Peter Kuemmel 2012-06-14 18:02:20 +02:00
parent eda3075478
commit f1aa026fb9
1 changed files with 1 additions and 1 deletions

View File

@ -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 // Insert the alias into the map. If the alias was already present in the
// map and referred to another target, mark it as ambiguous. // map and referred to another target, mark it as ambiguous.
std::pair<TargetAliasMap::iterator, bool> newAlias = 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) if (newAlias.second && newAlias.first->second != target)
newAlias.first->second = 0; newAlias.first->second = 0;
} }