summaryrefslogtreecommitdiff
path: root/Source/cmComputeLinkInformation.h
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2013-10-29 22:21:20 +0100
committerStephen Kelly <steveire@gmail.com>2013-10-31 14:52:11 +0100
commitc4373b33b2ad7c6db3b000b0615ed381f05ac5f3 (patch)
tree544c5d58dd31df7f06e85f6d060b87146bfbf5a5 /Source/cmComputeLinkInformation.h
parentcfb666133378d723a046ab7a4463a590deaa7aee (diff)
downloadcmake-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.h8
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;