summaryrefslogtreecommitdiffstats
path: root/Source/cmFLTKWrapUICommand.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-01-18 16:10:03 (GMT)
committerStephen Kelly <steveire@gmail.com>2015-02-05 19:44:25 (GMT)
commitbd990c803b40e1532cab6b29c75414ca6f30e782 (patch)
tree6e724661a3b4e195b3d437cf11053f797b8d9bcf /Source/cmFLTKWrapUICommand.cxx
parent5fc53f1edb2d003595ef224b31a805c3af0dc0e6 (diff)
downloadCMake-bd990c803b40e1532cab6b29c75414ca6f30e782.zip
CMake-bd990c803b40e1532cab6b29c75414ca6f30e782.tar.gz
CMake-bd990c803b40e1532cab6b29c75414ca6f30e782.tar.bz2
Remove use of ExpandSourceListArguments.
By now, it is only an expensive copy.
Diffstat (limited to 'Source/cmFLTKWrapUICommand.cxx')
-rw-r--r--Source/cmFLTKWrapUICommand.cxx7
1 files changed, 2 insertions, 5 deletions
diff --git a/Source/cmFLTKWrapUICommand.cxx b/Source/cmFLTKWrapUICommand.cxx
index f7d8243..488beaa 100644
--- a/Source/cmFLTKWrapUICommand.cxx
+++ b/Source/cmFLTKWrapUICommand.cxx
@@ -31,9 +31,6 @@ bool cmFLTKWrapUICommand
// get parameter for the command
this->Target = args[0]; // Target that will use the generated files
- std::vector<std::string> newArgs;
- this->Makefile->ExpandSourceListArguments(args,newArgs, 1);
-
// get the list of GUI files from which .cxx and .h will be generated
std::string outputDirectory = this->Makefile->GetCurrentOutputDirectory();
@@ -45,8 +42,8 @@ bool cmFLTKWrapUICommand
this->Makefile->AddIncludeDirectories( outputDirectories );
}
- for(std::vector<std::string>::iterator i = (newArgs.begin() + 1);
- i != newArgs.end(); i++)
+ for(std::vector<std::string>::const_iterator i = (args.begin() + 1);
+ i != args.end(); i++)
{
cmSourceFile *curr = this->Makefile->GetSource(*i);
// if we should use the source GUI