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/target.txx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'build2/target.txx') diff --git a/build2/target.txx b/build2/target.txx index 5519126..ea7bca7 100644 --- a/build2/target.txx +++ b/build2/target.txx @@ -34,14 +34,14 @@ namespace build2 // template optional - target_extension_fix (const target_key&, scope&, bool) + target_extension_fix (const target_key&, const scope&, bool) { return string (ext); } template optional - target_extension_var (const target_key& tk, scope& s, bool) + target_extension_var (const target_key& tk, const scope& s, bool) { // Include target type/pattern-specific variables. // -- cgit v1.1