Remove unused cmSourceGroup method

The non-const GetSourceFiles method is not needed.
This commit is contained in:
Brad King 2012-03-08 10:13:30 -05:00
parent d57047de33
commit 46f4940675
2 changed files with 0 additions and 7 deletions

View File

@ -119,12 +119,6 @@ const std::vector<const cmSourceFile*>& cmSourceGroup::GetSourceFiles() const
return this->SourceFiles; return this->SourceFiles;
} }
//----------------------------------------------------------------------------
std::vector<const cmSourceFile*>& cmSourceGroup::GetSourceFiles()
{
return this->SourceFiles;
}
//---------------------------------------------------------------------------- //----------------------------------------------------------------------------
void cmSourceGroup::AddChild(cmSourceGroup child) void cmSourceGroup::AddChild(cmSourceGroup child)
{ {

View File

@ -100,7 +100,6 @@ public:
* source group. * source group.
*/ */
const std::vector<const cmSourceFile*>& GetSourceFiles() const; const std::vector<const cmSourceFile*>& GetSourceFiles() const;
std::vector<const cmSourceFile*>& GetSourceFiles();
std::vector<cmSourceGroup> const& GetGroupChildren() const; std::vector<cmSourceGroup> const& GetGroupChildren() const;
private: private: