summaryrefslogtreecommitdiffstats
path: root/Source/cmTarget.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2014-06-16 13:55:20 (GMT)
committerBrad King <brad.king@kitware.com>2014-06-23 13:17:06 (GMT)
commit9f3ed029ce830f0395e102258758a4b3680e5d0f (patch)
treef2d59ee39894ad998e94bad38d7cc6e8e3458557 /Source/cmTarget.h
parent6f0951af011d28366cf31ff621238f026cb8d895 (diff)
downloadCMake-9f3ed029ce830f0395e102258758a4b3680e5d0f.zip
CMake-9f3ed029ce830f0395e102258758a4b3680e5d0f.tar.gz
CMake-9f3ed029ce830f0395e102258758a4b3680e5d0f.tar.bz2
cmTarget: Constify GetTransitivePropertyTargets results
Populate a vector of "cmTarget const*" instead of "cmTarget*".
Diffstat (limited to 'Source/cmTarget.h')
-rw-r--r--Source/cmTarget.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmTarget.h b/Source/cmTarget.h
index 0773194..fae1bbb 100644
--- a/Source/cmTarget.h
+++ b/Source/cmTarget.h
@@ -271,8 +271,8 @@ public:
LinkInterface const* GetLinkInterfaceLibraries(const std::string& config,
cmTarget const* headTarget) const;
void GetTransitivePropertyTargets(const std::string& config,
- cmTarget const* headTarget,
- std::vector<cmTarget*> &libs) const;
+ cmTarget const* headTarget,
+ std::vector<cmTarget const*> &libs) const;
std::vector<cmTarget*> const&
GetLinkImplementationClosure(const std::string& config) const;