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: