summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2018-03-20 13:19:00 (GMT)
committerKitware Robot <kwrobot@kitware.com>2018-03-20 13:21:02 (GMT)
commit157ae9a0889a3d46347bf8d241f074c7b25df988 (patch)
tree17b646fcde6d60dc0c1730f833169ca779e73af6 /Source
parentf5f992b6f0dbd5451dbdf1cd1fd079fbced7afb3 (diff)
parent8e20ad1a5e998341cc579bcf501a6f9d68dba860 (diff)
downloadCMake-157ae9a0889a3d46347bf8d241f074c7b25df988.zip
CMake-157ae9a0889a3d46347bf8d241f074c7b25df988.tar.gz
CMake-157ae9a0889a3d46347bf8d241f074c7b25df988.tar.bz2
Merge topic 'make_GetItems_const'
8e20ad1a5e cmComputeLinkInformation: make GetItems() const Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1863
Diffstat (limited to 'Source')
-rw-r--r--Source/cmComputeLinkInformation.cxx2
-rw-r--r--Source/cmComputeLinkInformation.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmComputeLinkInformation.cxx b/Source/cmComputeLinkInformation.cxx
index e00450f..b82fc43 100644
--- a/Source/cmComputeLinkInformation.cxx
+++ b/Source/cmComputeLinkInformation.cxx
@@ -406,7 +406,7 @@ cmComputeLinkInformation::~cmComputeLinkInformation()
}
cmComputeLinkInformation::ItemVector const&
-cmComputeLinkInformation::GetItems()
+cmComputeLinkInformation::GetItems() const
{
return this->Items;
}
diff --git a/Source/cmComputeLinkInformation.h b/Source/cmComputeLinkInformation.h
index f8c6214..6c67fb4 100644
--- a/Source/cmComputeLinkInformation.h
+++ b/Source/cmComputeLinkInformation.h
@@ -48,7 +48,7 @@ public:
cmGeneratorTarget const* Target;
};
typedef std::vector<Item> ItemVector;
- ItemVector const& GetItems();
+ ItemVector const& GetItems() const;
std::vector<std::string> const& GetDirectories();
std::vector<std::string> const& GetDepends();
std::vector<std::string> const& GetFrameworkPaths();