diff options
author | Ben Boeckel <ben.boeckel@kitware.com> | 2016-10-13 16:48:24 (GMT) |
---|---|---|
committer | Ben Boeckel <ben.boeckel@kitware.com> | 2016-10-14 13:27:43 (GMT) |
commit | 47092d3e809be971264a8d5416ff3cb9255f6565 (patch) | |
tree | ab929e954450f42b9b7cfcf437a006496dbd300b /Source/cmcldeps.cxx | |
parent | 7db671a14374fdbfb8ae87ab9618bca111f4e8a5 (diff) | |
download | CMake-47092d3e809be971264a8d5416ff3cb9255f6565.zip CMake-47092d3e809be971264a8d5416ff3cb9255f6565.tar.gz CMake-47092d3e809be971264a8d5416ff3cb9255f6565.tar.bz2 |
cmcldeps: append strings as strings
Diffstat (limited to 'Source/cmcldeps.cxx')
-rw-r--r-- | Source/cmcldeps.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmcldeps.cxx b/Source/cmcldeps.cxx index aed67b9..bfbb5fd 100644 --- a/Source/cmcldeps.cxx +++ b/Source/cmcldeps.cxx @@ -205,7 +205,7 @@ static int process(const std::string& srcfilename, const std::string& dfile, std::vector<std::string> command; for (std::vector<std::string>::iterator i = args.begin(); i != args.end(); ++i) { - command.push_back(i->c_str()); + command.push_back(*i); } // run the command int exit_code = 0; |