summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Stürmer <michael.stuermer@schaeffler.com>2018-03-15 15:52:48 (GMT)
committerBrad King <brad.king@kitware.com>2018-03-19 13:07:38 (GMT)
commit8e20ad1a5e998341cc579bcf501a6f9d68dba860 (patch)
tree1e89ce54f1964ff5bae76884a1d164a5aa426560
parent07f9f41f503985dbd1fb0a657beadcfee95347e0 (diff)
downloadCMake-8e20ad1a5e998341cc579bcf501a6f9d68dba860.zip
CMake-8e20ad1a5e998341cc579bcf501a6f9d68dba860.tar.gz
CMake-8e20ad1a5e998341cc579bcf501a6f9d68dba860.tar.bz2
cmComputeLinkInformation: make GetItems() const
-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();