diff options
author | Brad King <brad.king@kitware.com> | 2014-06-16 13:55:20 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2014-06-23 13:17:06 (GMT) |
commit | 9f3ed029ce830f0395e102258758a4b3680e5d0f (patch) | |
tree | f2d59ee39894ad998e94bad38d7cc6e8e3458557 /Source/cmTarget.h | |
parent | 6f0951af011d28366cf31ff621238f026cb8d895 (diff) | |
download | CMake-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.h | 4 |
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; |