diff options
author | Stephen Kelly <steveire@gmail.com> | 2015-09-26 16:11:10 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2015-09-26 17:32:54 (GMT) |
commit | 65ff75d3f5bf117508ba046779cdad323e077220 (patch) | |
tree | 23dfc7c2050fe4a44aed4687545532fdcc3c5b8b /Source/cmGlobalGenerator.cxx | |
parent | 64b78c147fdfa6a9125371c01acfdfce3666c890 (diff) | |
download | CMake-65ff75d3f5bf117508ba046779cdad323e077220.zip CMake-65ff75d3f5bf117508ba046779cdad323e077220.tar.gz CMake-65ff75d3f5bf117508ba046779cdad323e077220.tar.bz2 |
QtAutogen: Remove unnecessary dereference.
Diffstat (limited to 'Source/cmGlobalGenerator.cxx')
-rw-r--r-- | Source/cmGlobalGenerator.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/cmGlobalGenerator.cxx b/Source/cmGlobalGenerator.cxx index fa9120e..50906b8 100644 --- a/Source/cmGlobalGenerator.cxx +++ b/Source/cmGlobalGenerator.cxx @@ -1454,12 +1454,12 @@ void cmGlobalGenerator::CreateQtAutoGeneratorsTargets(AutogensType &autogens) for(std::vector<std::string>::iterator ti = targetNames.begin(); ti != targetNames.end(); ++ti) { - cmTarget& target = *this->LocalGenerators[i] + cmTarget* target = this->LocalGenerators[i] ->GetMakefile()->FindTarget(*ti, true); cmQtAutoGenerators::InitializeAutogenTarget( - this->LocalGenerators[i], &target); + this->LocalGenerators[i], target); cmQtAutoGenerators autogen; - autogens.push_back(std::make_pair(autogen, &target)); + autogens.push_back(std::make_pair(autogen, target)); } } #else |