From 47092d3e809be971264a8d5416ff3cb9255f6565 Mon Sep 17 00:00:00 2001 From: Ben Boeckel Date: Thu, 13 Oct 2016 12:48:24 -0400 Subject: cmcldeps: append strings as strings --- Source/cmcldeps.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 command; for (std::vector::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; -- cgit v0.12