summaryrefslogtreecommitdiff
path: root/Source/cmTarget.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2014-06-12 16:20:08 -0400
committerBrad King <brad.king@kitware.com>2014-06-23 09:14:45 -0400
commitbcdb7ff9df8fb831e952a3909da11da51773a30f (patch)
treee49026e86507dc9407fa584f0f1e4ca844b87003 /Source/cmTarget.h
parentbd9b667bbe83b112a9ea4448605fac980d2d8a68 (diff)
downloadcmake-bcdb7ff9df8fb831e952a3909da11da51773a30f.tar.gz
cmTarget: Remove 'head' argument from GetLinkerLanguage
It is only ever called with the 'this' target as the head. Co-Author: Stephen Kelly <steveire@gmail.com>
Diffstat (limited to 'Source/cmTarget.h')
-rw-r--r--Source/cmTarget.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/cmTarget.h b/Source/cmTarget.h
index 5bcbb3dc12..26a1e8657b 100644
--- a/Source/cmTarget.h
+++ b/Source/cmTarget.h
@@ -355,8 +355,7 @@ public:
GetTargetVersion(bool soversion, int& major, int& minor, int& patch) const;
///! Return the preferred linker language for this target
- std::string GetLinkerLanguage(const std::string& config = "",
- cmTarget const* head = 0) const;
+ std::string GetLinkerLanguage(const std::string& config = "") const;
/** Get the full name of the target according to the settings in its
makefile. */