summaryrefslogtreecommitdiffstats
path: root/Source/cmComputeLinkInformation.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2013-10-29 21:21:20 (GMT)
committerStephen Kelly <steveire@gmail.com>2013-10-31 13:52:11 (GMT)
commitc4373b33b2ad7c6db3b000b0615ed381f05ac5f3 (patch)
tree544c5d58dd31df7f06e85f6d060b87146bfbf5a5 /Source/cmComputeLinkInformation.cxx
parentcfb666133378d723a046ab7a4463a590deaa7aee (diff)
downloadCMake-c4373b33b2ad7c6db3b000b0615ed381f05ac5f3.zip
CMake-c4373b33b2ad7c6db3b000b0615ed381f05ac5f3.tar.gz
CMake-c4373b33b2ad7c6db3b000b0615ed381f05ac5f3.tar.bz2
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.cxx')
-rw-r--r--Source/cmComputeLinkInformation.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmComputeLinkInformation.cxx b/Source/cmComputeLinkInformation.cxx
index d3b28ed..d4644c3 100644
--- a/Source/cmComputeLinkInformation.cxx
+++ b/Source/cmComputeLinkInformation.cxx
@@ -239,8 +239,8 @@ because this need be done only for shared libraries without soname-s.
//----------------------------------------------------------------------------
cmComputeLinkInformation
-::cmComputeLinkInformation(cmTarget* target, const char* config,
- cmTarget *headTarget)
+::cmComputeLinkInformation(cmTarget const* target, const char* config,
+ cmTarget const* headTarget)
{
// Store context information.
this->Target = target;