diff options
author | Stephen Kelly <steveire@gmail.com> | 2013-10-29 22:21:20 +0100 |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2013-10-31 14:52:11 +0100 |
commit | c4373b33b2ad7c6db3b000b0615ed381f05ac5f3 (patch) | |
tree | 544c5d58dd31df7f06e85f6d060b87146bfbf5a5 /Source/cmComputeLinkInformation.h | |
parent | cfb666133378d723a046ab7a4463a590deaa7aee (diff) | |
download | cmake-c4373b33b2ad7c6db3b000b0615ed381f05ac5f3.tar.gz |
cmTarget: Make GetProperty() const.
This has follow-on effects for other methods and classes. Further
work on making the use of const cmTarget pointers common can be
done, particularly with a view to generate-time methods.
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 e6ee871858..1da5495e1a 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; |