summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalGenerator.h
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2008-01-31 03:56:34 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2008-01-31 03:56:34 (GMT)
commit6903d2df8b2e7ff529efb0e283aa37cb8480725a (patch)
treedafe15c83cd970a9558f6961eac45a72eac3fa88 /Source/cmGlobalGenerator.h
parent2a6e918c1fa7e8418faa08d2311a039311e14262 (diff)
downloadCMake-6903d2df8b2e7ff529efb0e283aa37cb8480725a.zip
CMake-6903d2df8b2e7ff529efb0e283aa37cb8480725a.tar.gz
CMake-6903d2df8b2e7ff529efb0e283aa37cb8480725a.tar.bz2
ENH: remove const
Diffstat (limited to 'Source/cmGlobalGenerator.h')
-rw-r--r--Source/cmGlobalGenerator.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/Source/cmGlobalGenerator.h b/Source/cmGlobalGenerator.h
index b40b5d8..bd5a8ee 100644
--- a/Source/cmGlobalGenerator.h
+++ b/Source/cmGlobalGenerator.h
@@ -232,11 +232,11 @@ public:
virtual const char* GetCleanTargetName() { return 0; }
// Class to track a set of dependencies.
- class TargetDependSet: public std::set<cmTarget const*> {};
+ class TargetDependSet: public std::set<cmTarget*> {};
// what targets does the specified target depend on directly
// via a target_link_libraries or add_dependencies
- TargetDependSet const& GetTargetDirectDepends(cmTarget const& target);
+ TargetDependSet & GetTargetDirectDepends(cmTarget & target);
const std::map<cmStdString, std::vector<cmLocalGenerator*> >& GetProjectMap()
const {return this->ProjectMap;}
@@ -281,7 +281,7 @@ protected:
cmLocalGenerator* CurrentLocalGenerator;
// map from project name to vector of local generators in that project
std::map<cmStdString, std::vector<cmLocalGenerator*> > ProjectMap;
- std::map<cmLocalGenerator*, std::set<cmTarget const*> >
+ std::map<cmLocalGenerator*, std::set<cmTarget *> >
LocalGeneratorToTargetMap;
// Set of named installation components requested by the project.
@@ -314,12 +314,12 @@ private:
std::vector<std::string> FilesReplacedDuringGenerate;
// Track inter-target dependencies.
- bool ConsiderTargetDepends(cmTarget const* depender,
+ bool ConsiderTargetDepends(cmTarget * depender,
TargetDependSet& depender_depends,
const char* dependee_name);
- bool FindDependency(cmTarget const* goal, cmTarget const* current,
- std::vector<cmTarget const*>& steps);
- typedef std::map<cmTarget const*, TargetDependSet> TargetDependMap;
+ bool FindDependency(cmTarget * goal, cmTarget * current,
+ std::vector<cmTarget *>& steps);
+ typedef std::map<cmTarget *, TargetDependSet> TargetDependMap;
TargetDependMap TargetDependencies;
// Cache directory content and target files to be built.