summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-10-16 17:19:48 (GMT)
committerStephen Kelly <steveire@gmail.com>2015-10-16 17:20:17 (GMT)
commit393654bf49f2c8d86e9ec88fc3c8322497432aea (patch)
treefd427b9b383d9ca2acdec11a203b2ab61d3ac6ef
parent893ce307f9a9f50dbd324a4c72b833e4a3649b0a (diff)
downloadCMake-393654bf49f2c8d86e9ec88fc3c8322497432aea.zip
CMake-393654bf49f2c8d86e9ec88fc3c8322497432aea.tar.gz
CMake-393654bf49f2c8d86e9ec88fc3c8322497432aea.tar.bz2
cmGeneratorTarget: Port internal class to cmGeneratorTarget.
-rw-r--r--Source/cmGeneratorTarget.cxx6
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;
};
//----------------------------------------------------------------------------