cmComputeLinkInformation: make GetItems() const

This commit is contained in:
Michael Stürmer
2018-03-15 16:52:48 +01:00
committed by Brad King
parent 07f9f41f50
commit 8e20ad1a5e
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -406,7 +406,7 @@ cmComputeLinkInformation::~cmComputeLinkInformation()
}
cmComputeLinkInformation::ItemVector const&
cmComputeLinkInformation::GetItems()
cmComputeLinkInformation::GetItems() const
{
return this->Items;
}
+1 -1
View File
@@ -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();