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 8cef1f5..773d00c 100644
--- a/build2/cli/rule.cxx
+++ b/build2/cli/rule.cxx
@@ -250,7 +250,7 @@ namespace build2
path relo (relative (t.dir));
path rels (relative (s->path ()));
- scope& rs (t.root_scope ());
+ const scope& rs (t.root_scope ());
const process_path& cli (cast<process_path> (rs["cli.path"]));