diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2015-07-02 08:17:00 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2015-07-02 08:17:00 +0200 |
commit | e8945fbb15e472afca16fe1c3f36997742a2d64a (patch) | |
tree | 83d3d4bd7606b5ce62686afd5efb874e246fa443 /build/cli | |
parent | 39623df224608e77b5a62dabd35b09783198bc87 (diff) |
Common types cleanup (strings, cstrings)
Diffstat (limited to 'build/cli')
-rw-r--r-- | build/cli/rule.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
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 <butl/process> +#include <build/types> #include <build/scope> #include <build/target> #include <build/context> @@ -183,7 +184,7 @@ namespace build } static void - append_extension (vector<const char*>& 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<const string&> ()); - vector<const char*> args {cli.c_str ()}; + cstrings args {cli.c_str ()}; // See if we need to pass any --?xx-suffix options. // |