diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2017-02-01 16:36:24 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2017-02-13 12:42:41 +0200 |
commit | e3e597180487328a54721e2afb95e33ed853d586 (patch) | |
tree | 89d59f482d41eb37a90f97b0dd55c2e878e4800b /unit-tests | |
parent | 1dd17210b76d544a04fc6b4f3c98162ae9718102 (diff) |
Pass const scope& where modification should not happen
Diffstat (limited to 'unit-tests')
-rw-r--r-- | unit-tests/function/driver.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
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); |