cmGeneratorTarget: Port internal class to cmGeneratorTarget.

This commit is contained in:
Stephen Kelly 2015-10-16 19:19:48 +02:00
parent 893ce307f9
commit 393654bf49
1 changed files with 3 additions and 3 deletions

View File

@ -1691,7 +1691,7 @@ public:
cmGeneratorTarget const* head): cmGeneratorTarget const* head):
Config(config), Languages(languages), HeadTarget(head), Config(config), Languages(languages), HeadTarget(head),
Makefile(target->Target->GetMakefile()), Target(target) Makefile(target->Target->GetMakefile()), Target(target)
{ this->Visited.insert(target->Target); } { this->Visited.insert(target); }
void Visit(cmLinkItem const& item) void Visit(cmLinkItem const& item)
{ {
@ -1732,7 +1732,7 @@ public:
} }
return; return;
} }
if(!this->Visited.insert(item.Target->Target).second) if(!this->Visited.insert(item.Target).second)
{ {
return; return;
} }
@ -1758,7 +1758,7 @@ private:
cmGeneratorTarget const* HeadTarget; cmGeneratorTarget const* HeadTarget;
cmMakefile* Makefile; cmMakefile* Makefile;
const cmGeneratorTarget* Target; const cmGeneratorTarget* Target;
std::set<cmTarget const*> Visited; std::set<cmGeneratorTarget const*> Visited;
}; };
//---------------------------------------------------------------------------- //----------------------------------------------------------------------------