aboutsummaryrefslogtreecommitdiff
path: root/build/cli/rule.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2015-07-02 08:17:00 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2015-07-02 08:17:00 +0200
commite8945fbb15e472afca16fe1c3f36997742a2d64a (patch)
tree83d3d4bd7606b5ce62686afd5efb874e246fa443 /build/cli/rule.cxx
parent39623df224608e77b5a62dabd35b09783198bc87 (diff)
Common types cleanup (strings, cstrings)
Diffstat (limited to 'build/cli/rule.cxx')
-rw-r--r--build/cli/rule.cxx5
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.
//