summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2012-03-08 15:13:30 (GMT)
committerBrad King <brad.king@kitware.com>2012-03-09 20:16:03 (GMT)
commit46f49406759423dcc6f4050c9ad83c7167bd4dfc (patch)
treeabf7026e2b91bd1c05f4c5d413d32dbc9b6e8208 /Source
parentd57047de33e096eac6fc84976c733b7941c9add3 (diff)
downloadCMake-46f49406759423dcc6f4050c9ad83c7167bd4dfc.zip
CMake-46f49406759423dcc6f4050c9ad83c7167bd4dfc.tar.gz
CMake-46f49406759423dcc6f4050c9ad83c7167bd4dfc.tar.bz2
Remove unused cmSourceGroup method
The non-const GetSourceFiles method is not needed.
Diffstat (limited to 'Source')
-rw-r--r--Source/cmSourceGroup.cxx6
-rw-r--r--Source/cmSourceGroup.h1
2 files changed, 0 insertions, 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<const cmSourceFile*>& cmSourceGroup::GetSourceFiles() const
}
//----------------------------------------------------------------------------
-std::vector<const cmSourceFile*>& 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<const cmSourceFile*>& GetSourceFiles() const;
- std::vector<const cmSourceFile*>& GetSourceFiles();
std::vector<cmSourceGroup> const& GetGroupChildren() const;
private: