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/cmComputeLinkDepends.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/cmComputeLinkDepends.h')
-rw-r--r-- | Source/cmComputeLinkDepends.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/Source/cmComputeLinkDepends.h b/Source/cmComputeLinkDepends.h index 1d5d1b920b..b86c9b231b 100644 --- a/Source/cmComputeLinkDepends.h +++ b/Source/cmComputeLinkDepends.h @@ -32,7 +32,8 @@ class cmake; class cmComputeLinkDepends { public: - cmComputeLinkDepends(cmTarget* target, const char* config, cmTarget *head); + cmComputeLinkDepends(cmTarget const* target, const char* config, + cmTarget const* head); ~cmComputeLinkDepends(); // Basic information about each link item. @@ -58,8 +59,8 @@ public: private: // Context information. - cmTarget* Target; - cmTarget* HeadTarget; + cmTarget const* Target; + cmTarget const* HeadTarget; cmMakefile* Makefile; cmLocalGenerator* LocalGenerator; cmGlobalGenerator* GlobalGenerator; |