summaryrefslogtreecommitdiffstats
path: root/Source/cmQtAutoGenerators.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2014-12-18 20:03:38 (GMT)
committerStephen Kelly <steveire@gmail.com>2014-12-18 23:06:00 (GMT)
commite2a489c76aed54e96e85627a66692a11784e9824 (patch)
tree79cbeb1d914183e4a796f8da12b254016a337c23 /Source/cmQtAutoGenerators.cxx
parent0f99feec04193504a5a9ffc05e2132619ecf7dfe (diff)
downloadCMake-e2a489c76aed54e96e85627a66692a11784e9824.zip
CMake-e2a489c76aed54e96e85627a66692a11784e9824.tar.gz
CMake-e2a489c76aed54e96e85627a66692a11784e9824.tar.bz2
Remove some temporary vectors for ExpandListArgument.
Expand directly into the target when possible.
Diffstat (limited to 'Source/cmQtAutoGenerators.cxx')
-rw-r--r--Source/cmQtAutoGenerators.cxx9
1 files changed, 1 insertions, 8 deletions
diff --git a/Source/cmQtAutoGenerators.cxx b/Source/cmQtAutoGenerators.cxx
index 0c38366..a01a384 100644
--- a/Source/cmQtAutoGenerators.cxx
+++ b/Source/cmQtAutoGenerators.cxx
@@ -2368,14 +2368,7 @@ bool cmQtAutoGenerators::GenerateQrc()
= this->RccOptions.find(*si);
if (optionIt != this->RccOptions.end())
{
- std::vector<std::string> opts;
- cmSystemTools::ExpandListArgument(optionIt->second, opts);
- for(std::vector<std::string>::const_iterator optIt = opts.begin();
- optIt != opts.end();
- ++optIt)
- {
- command.push_back(*optIt);
- }
+ cmSystemTools::ExpandListArgument(optionIt->second, command);
}
command.push_back("-name");