summaryrefslogtreecommitdiffstats
path: root/Source/cmFLTKWrapUICommand.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2007-05-28 14:25:03 (GMT)
committerBrad King <brad.king@kitware.com>2007-05-28 14:25:03 (GMT)
commit3f2dd9bc54d1dfc47fcf8e22979e409ad50e875a (patch)
treea0aa1d56e870d1a6b758de964cf2bcbb9a24868a /Source/cmFLTKWrapUICommand.cxx
parentba8ec0d5cf2efac0107841dfcfb2534852d3bfe7 (diff)
downloadCMake-3f2dd9bc54d1dfc47fcf8e22979e409ad50e875a.zip
CMake-3f2dd9bc54d1dfc47fcf8e22979e409ad50e875a.tar.gz
CMake-3f2dd9bc54d1dfc47fcf8e22979e409ad50e875a.tar.bz2
ENH: Made cmTarget::GetSourceFiles method return reference to const so addition of cmSourceFile pointers must be done with an access method in cmTarget.
Diffstat (limited to 'Source/cmFLTKWrapUICommand.cxx')
-rw-r--r--Source/cmFLTKWrapUICommand.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmFLTKWrapUICommand.cxx b/Source/cmFLTKWrapUICommand.cxx
index f761a59..80abd67 100644
--- a/Source/cmFLTKWrapUICommand.cxx
+++ b/Source/cmFLTKWrapUICommand.cxx
@@ -158,8 +158,8 @@ void cmFLTKWrapUICommand::FinalPass()
// Generate code for all the .fl files
for(size_t classNum = 0; classNum < lastHeadersClass; classNum++)
{
- this->Makefile->GetTargets()[this->Target].GetSourceFiles().
- push_back(this->GeneratedSourcesClasses[classNum]);
+ this->Makefile->GetTargets()[this->Target]
+ .AddSourceFile(this->GeneratedSourcesClasses[classNum]);
}
}
}