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/cc/windows-manifest.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'build2/cc/windows-manifest.cxx') diff --git a/build2/cc/windows-manifest.cxx b/build2/cc/windows-manifest.cxx index 44d8f7b..b0b0feb 100644 --- a/build2/cc/windows-manifest.cxx +++ b/build2/cc/windows-manifest.cxx @@ -43,7 +43,7 @@ namespace build2 { tracer trace (x, "windows_manifest"); - scope& rs (t.root_scope ()); + const scope& rs (t.root_scope ()); const char* pa (windows_manifest_arch (cast (rs[x_target_cpu]))); -- cgit v1.1