summaryrefslogtreecommitdiffstats
path: root/Source/cmTarget.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2014-06-12 20:21:45 (GMT)
committerBrad King <brad.king@kitware.com>2014-06-23 13:14:45 (GMT)
commit4ac72455fd7027039d498f007fdfe7c1d819b9f9 (patch)
tree5544340ad7af8cfbf7670d0eac7c705096b05519 /Source/cmTarget.h
parentbcdb7ff9df8fb831e952a3909da11da51773a30f (diff)
downloadCMake-4ac72455fd7027039d498f007fdfe7c1d819b9f9.zip
CMake-4ac72455fd7027039d498f007fdfe7c1d819b9f9.tar.gz
CMake-4ac72455fd7027039d498f007fdfe7c1d819b9f9.tar.bz2
cmTarget: Drop 'head' argument from GetLinkClosure
It is only ever passed the 'this' target itself.
Diffstat (limited to 'Source/cmTarget.h')
-rw-r--r--Source/cmTarget.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/Source/cmTarget.h b/Source/cmTarget.h
index 26a1e86..8c6955e 100644
--- a/Source/cmTarget.h
+++ b/Source/cmTarget.h
@@ -308,8 +308,7 @@ public:
// Languages whose runtime libraries must be linked.
std::vector<std::string> Languages;
};
- LinkClosure const* GetLinkClosure(const std::string& config,
- cmTarget const* head) const;
+ LinkClosure const* GetLinkClosure(const std::string& config) const;
/** Strip off leading and trailing whitespace from an item named in
the link dependencies of this target. */
@@ -757,8 +756,7 @@ private:
void ComputeLinkImplementationLanguages(const std::string& config,
LinkImplementation& impl,
cmTarget const* head) const;
- void ComputeLinkClosure(const std::string& config, LinkClosure& lc,
- cmTarget const* head) const;
+ void ComputeLinkClosure(const std::string& config, LinkClosure& lc) const;
void ExpandLinkItems(std::string const& prop, std::string const& value,
std::string const& config, cmTarget const* headTarget,