summaryrefslogtreecommitdiffstats
path: root/Source/cmTarget.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2014-06-12 20:20:08 (GMT)
committerBrad King <brad.king@kitware.com>2014-06-23 13:14:45 (GMT)
commitbcdb7ff9df8fb831e952a3909da11da51773a30f (patch)
treee49026e86507dc9407fa584f0f1e4ca844b87003 /Source/cmTarget.h
parentbd9b667bbe83b112a9ea4448605fac980d2d8a68 (diff)
downloadCMake-bcdb7ff9df8fb831e952a3909da11da51773a30f.zip
CMake-bcdb7ff9df8fb831e952a3909da11da51773a30f.tar.gz
CMake-bcdb7ff9df8fb831e952a3909da11da51773a30f.tar.bz2
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 5bcbb3d..26a1e86 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. */