From e3e597180487328a54721e2afb95e33ed853d586 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 1 Feb 2017 16:36:24 +0200 Subject: Pass const scope& where modification should not happen --- build2/cli/rule.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'build2/cli') 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 (rs["cli.path"])); -- cgit v1.1