From 46f49406759423dcc6f4050c9ad83c7167bd4dfc Mon Sep 17 00:00:00 2001 From: Brad King Date: Thu, 8 Mar 2012 10:13:30 -0500 Subject: 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 19ae8fc..2b34f2b 100644 --- a/Source/cmSourceGroup.cxx +++ b/Source/cmSourceGroup.cxx @@ -120,12 +120,6 @@ const std::vector& cmSourceGroup::GetSourceFiles() const } //---------------------------------------------------------------------------- -std::vector& cmSourceGroup::GetSourceFiles() -{ - return this->SourceFiles; -} - -//---------------------------------------------------------------------------- void cmSourceGroup::AddChild(cmSourceGroup child) { this->Internal->GroupChildren.push_back(child); diff --git a/Source/cmSourceGroup.h b/Source/cmSourceGroup.h index 71ccb51..641dcbd 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: -- cgit v0.12