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 --- unit-tests/function/driver.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'unit-tests/function') diff --git a/unit-tests/function/driver.cxx b/unit-tests/function/driver.cxx index 2f605b0..70fd69e 100644 --- a/unit-tests/function/driver.cxx +++ b/unit-tests/function/driver.cxx @@ -92,7 +92,7 @@ namespace build2 try { - scope& s (*global_scope); + scope& s (*scope::global_); parser p; p.parse_buildfile (cin, path ("buildfile"), s, s); -- cgit v1.1