From 46f49406759423dcc6f4050c9ad83c7167bd4dfc Mon Sep 17 00:00:00 2001 From: Brad King Date: Thu, 8 Mar 2012 10:13:30 -0500 Subject: [PATCH] Remove unused cmSourceGroup method The non-const GetSourceFiles method is not needed. --- Source/cmSourceGroup.cxx | 6 ------ Source/cmSourceGroup.h | 1 - 2 files changed, 7 deletions(-) diff --git a/Source/cmSourceGroup.cxx b/Source/cmSourceGroup.cxx index 19ae8fc35..2b34f2bfc 100644 --- a/Source/cmSourceGroup.cxx +++ b/Source/cmSourceGroup.cxx @@ -119,12 +119,6 @@ const std::vector& cmSourceGroup::GetSourceFiles() const return this->SourceFiles; } -//---------------------------------------------------------------------------- -std::vector& cmSourceGroup::GetSourceFiles() -{ - return this->SourceFiles; -} - //---------------------------------------------------------------------------- void cmSourceGroup::AddChild(cmSourceGroup child) { diff --git a/Source/cmSourceGroup.h b/Source/cmSourceGroup.h index 71ccb513e..641dcbd57 100644 --- a/Source/cmSourceGroup.h +++ b/Source/cmSourceGroup.h @@ -100,7 +100,6 @@ public: * source group. */ const std::vector& GetSourceFiles() const; - std::vector& GetSourceFiles(); std::vector const& GetGroupChildren() const; private: