summaryrefslogtreecommitdiffstats
path: root/Source/cmTarget.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2014-06-12 20:10:00 (GMT)
committerBrad King <brad.king@kitware.com>2014-06-23 13:14:45 (GMT)
commit06328dd58ee3de5d716b0d2b259927da2e173c1d (patch)
tree4029c8d1af2f9181b392af0fd55e0feb840f8d82 /Source/cmTarget.h
parent56aed7005ae17e979f4635240539041e66d9220a (diff)
downloadCMake-06328dd58ee3de5d716b0d2b259927da2e173c1d.zip
CMake-06328dd58ee3de5d716b0d2b259927da2e173c1d.tar.gz
CMake-06328dd58ee3de5d716b0d2b259927da2e173c1d.tar.bz2
cmTarget: Remove 'head' argument from GetLinkInformation
No call sites use it anyway. Co-Author: Stephen Kelly <steveire@gmail.com>
Diffstat (limited to 'Source/cmTarget.h')
-rw-r--r--Source/cmTarget.h10
1 files changed, 4 insertions, 6 deletions
diff --git a/Source/cmTarget.h b/Source/cmTarget.h
index 86108b7..5bcbb3d 100644
--- a/Source/cmTarget.h
+++ b/Source/cmTarget.h
@@ -44,11 +44,9 @@ class cmGeneratorTarget;
class cmTargetTraceDependencies;
struct cmTargetLinkInformationMap:
- public std::map<std::pair<cmTarget const* , std::string>,
- cmComputeLinkInformation*>
+ public std::map<std::string, cmComputeLinkInformation*>
{
- typedef std::map<std::pair<cmTarget const* , std::string>,
- cmComputeLinkInformation*> derived;
+ typedef std::map<std::string, cmComputeLinkInformation*> derived;
cmTargetLinkInformationMap() {}
cmTargetLinkInformationMap(cmTargetLinkInformationMap const& r);
~cmTargetLinkInformationMap();
@@ -442,8 +440,8 @@ public:
* install tree. For example: "\@rpath/" or "\@loader_path/". */
std::string GetInstallNameDirForInstallTree() const;
- cmComputeLinkInformation* GetLinkInformation(const std::string& config,
- cmTarget const* head = 0) const;
+ cmComputeLinkInformation*
+ GetLinkInformation(const std::string& config) const;
// Get the properties
cmPropertyMap &GetProperties() const { return this->Properties; }