From e8945fbb15e472afca16fe1c3f36997742a2d64a Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 2 Jul 2015 08:17:00 +0200 Subject: Common types cleanup (strings, cstrings) --- build/cli/rule.cxx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'build/cli') diff --git a/build/cli/rule.cxx b/build/cli/rule.cxx index 889e6a2..9abe665 100644 --- a/build/cli/rule.cxx +++ b/build/cli/rule.cxx @@ -6,6 +6,7 @@ #include +#include #include #include #include @@ -183,7 +184,7 @@ namespace build } static void - append_extension (vector& args, + append_extension (cstrings& args, path_target& t, const char* option, const char* default_extension) @@ -224,7 +225,7 @@ namespace build scope& rs (t.root_scope ()); const string& cli (rs["config.cli"].as ()); - vector args {cli.c_str ()}; + cstrings args {cli.c_str ()}; // See if we need to pass any --?xx-suffix options. // -- cgit v1.1