Merge topic 'constify'

ae6fc55 cmGlobalGenerator: Fix value type pushed into autogens vector
This commit is contained in:
Brad King 2013-12-23 10:18:51 -05:00 committed by CMake Topic Stage
commit 1e8d4b5f46
1 changed files with 1 additions and 1 deletions

View File

@ -1278,7 +1278,7 @@ void cmGlobalGenerator::CreateQtAutoGeneratorsTargets(AutogensType &autogens)
cmQtAutoGenerators autogen;
if(autogen.InitializeAutogenTarget(&target))
{
autogens.push_back(std::make_pair(autogen, &target));
autogens.push_back(AutogensType::value_type(autogen, &target));
}
}
}