diff options
author | Brad King <brad.king@kitware.com> | 2014-07-10 20:07:31 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2014-07-14 13:46:53 (GMT) |
commit | 4b8130b8de223674d567bdff5e156b1bdc1d5c27 (patch) | |
tree | 18996f5a23bcefe8916b9dc3a38b5b77dfd08470 /Source/cmTarget.h | |
parent | 4c763dd1f1c922606660e275372cc6313ac42535 (diff) | |
download | CMake-4b8130b8de223674d567bdff5e156b1bdc1d5c27.zip CMake-4b8130b8de223674d567bdff5e156b1bdc1d5c27.tar.gz CMake-4b8130b8de223674d567bdff5e156b1bdc1d5c27.tar.bz2 |
cmTarget: Drop 'head' argument from GetSourceFiles
No call sites need it to be anything but 'this'.
Diffstat (limited to 'Source/cmTarget.h')
-rw-r--r-- | Source/cmTarget.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/Source/cmTarget.h b/Source/cmTarget.h index d5fb5e8..39a0667 100644 --- a/Source/cmTarget.h +++ b/Source/cmTarget.h @@ -161,8 +161,7 @@ public: * Get the list of the source files used by this target */ void GetSourceFiles(std::vector<cmSourceFile*> &files, - const std::string& config, - cmTarget const* head = 0) const; + const std::string& config) const; bool GetConfigCommonSourceFiles(std::vector<cmSourceFile*>& files) const; /** @@ -711,8 +710,7 @@ private: bool contentOnly) const; void GetSourceFiles(std::vector<std::string> &files, - const std::string& config, - cmTarget const* head = 0) const; + const std::string& config) const; private: std::string Name; std::vector<cmCustomCommand> PreBuildCommands; |