QtAutogen: Remove unnecessary dereference.
This commit is contained in:
parent
64b78c147f
commit
65ff75d3f5
@ -1454,12 +1454,12 @@ void cmGlobalGenerator::CreateQtAutoGeneratorsTargets(AutogensType &autogens)
|
|||||||
for(std::vector<std::string>::iterator ti = targetNames.begin();
|
for(std::vector<std::string>::iterator ti = targetNames.begin();
|
||||||
ti != targetNames.end(); ++ti)
|
ti != targetNames.end(); ++ti)
|
||||||
{
|
{
|
||||||
cmTarget& target = *this->LocalGenerators[i]
|
cmTarget* target = this->LocalGenerators[i]
|
||||||
->GetMakefile()->FindTarget(*ti, true);
|
->GetMakefile()->FindTarget(*ti, true);
|
||||||
cmQtAutoGenerators::InitializeAutogenTarget(
|
cmQtAutoGenerators::InitializeAutogenTarget(
|
||||||
this->LocalGenerators[i], &target);
|
this->LocalGenerators[i], target);
|
||||||
cmQtAutoGenerators autogen;
|
cmQtAutoGenerators autogen;
|
||||||
autogens.push_back(std::make_pair(autogen, &target));
|
autogens.push_back(std::make_pair(autogen, target));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user