aboutsummaryrefslogtreecommitdiff
path: root/build2/cli/rule.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'build2/cli/rule.cxx')
-rw-r--r--build2/cli/rule.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/build2/cli/rule.cxx b/build2/cli/rule.cxx
index bf52993..243c6aa 100644
--- a/build2/cli/rule.cxx
+++ b/build2/cli/rule.cxx
@@ -244,7 +244,7 @@ namespace build2
path rels (relative (s->path ()));
scope& rs (t.root_scope ());
- const string& cli (as<string> (*rs["config.cli"]));
+ const string& cli (cast<string> (*rs["config.cli"]));
cstrings args {cli.c_str ()};