diff options
author | Stephen Kelly <steveire@gmail.com> | 2015-10-16 17:19:48 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2015-10-16 17:20:17 (GMT) |
commit | 393654bf49f2c8d86e9ec88fc3c8322497432aea (patch) | |
tree | fd427b9b383d9ca2acdec11a203b2ab61d3ac6ef | |
parent | 893ce307f9a9f50dbd324a4c72b833e4a3649b0a (diff) | |
download | CMake-393654bf49f2c8d86e9ec88fc3c8322497432aea.zip CMake-393654bf49f2c8d86e9ec88fc3c8322497432aea.tar.gz CMake-393654bf49f2c8d86e9ec88fc3c8322497432aea.tar.bz2 |
cmGeneratorTarget: Port internal class to cmGeneratorTarget.
-rw-r--r-- | Source/cmGeneratorTarget.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/cmGeneratorTarget.cxx b/Source/cmGeneratorTarget.cxx index 4fd9cec..6f91d1a 100644 --- a/Source/cmGeneratorTarget.cxx +++ b/Source/cmGeneratorTarget.cxx @@ -1691,7 +1691,7 @@ public: cmGeneratorTarget const* head): Config(config), Languages(languages), HeadTarget(head), Makefile(target->Target->GetMakefile()), Target(target) - { this->Visited.insert(target->Target); } + { this->Visited.insert(target); } void Visit(cmLinkItem const& item) { @@ -1732,7 +1732,7 @@ public: } return; } - if(!this->Visited.insert(item.Target->Target).second) + if(!this->Visited.insert(item.Target).second) { return; } @@ -1758,7 +1758,7 @@ private: cmGeneratorTarget const* HeadTarget; cmMakefile* Makefile; const cmGeneratorTarget* Target; - std::set<cmTarget const*> Visited; + std::set<cmGeneratorTarget const*> Visited; }; //---------------------------------------------------------------------------- |