diff options
author | Brad King <brad.king@kitware.com> | 2013-11-01 13:40:05 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2013-11-01 13:40:05 (GMT) |
commit | de5c29890f2139318b5c4c34e69774f3fa70ef30 (patch) | |
tree | 1418488c6521dcd20e0a9fed29fb6ca38669277b /Source/cmComputeLinkInformation.h | |
parent | a549b68d37bc3d1b87cfd407d4edb45fa02079dd (diff) | |
parent | c4373b33b2ad7c6db3b000b0615ed381f05ac5f3 (diff) | |
download | CMake-de5c29890f2139318b5c4c34e69774f3fa70ef30.zip CMake-de5c29890f2139318b5c4c34e69774f3fa70ef30.tar.gz CMake-de5c29890f2139318b5c4c34e69774f3fa70ef30.tar.bz2 |
Merge topic 'constify'
c4373b3 cmTarget: Make GetProperty() const.
cfb6661 Don't call SetProperty from GetProperty.
Diffstat (limited to 'Source/cmComputeLinkInformation.h')
-rw-r--r-- | Source/cmComputeLinkInformation.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/cmComputeLinkInformation.h b/Source/cmComputeLinkInformation.h index e6ee871..1da5495 100644 --- a/Source/cmComputeLinkInformation.h +++ b/Source/cmComputeLinkInformation.h @@ -29,8 +29,8 @@ class cmOrderDirectories; class cmComputeLinkInformation { public: - cmComputeLinkInformation(cmTarget* target, const char* config, - cmTarget* headTarget); + cmComputeLinkInformation(cmTarget const* target, const char* config, + cmTarget const* headTarget); ~cmComputeLinkInformation(); bool Compute(); @@ -74,8 +74,8 @@ private: std::set<cmTarget*> SharedLibrariesLinked; // Context information. - cmTarget* Target; - cmTarget* HeadTarget; + cmTarget const* Target; + cmTarget const* HeadTarget; cmMakefile* Makefile; cmLocalGenerator* LocalGenerator; cmGlobalGenerator* GlobalGenerator; |