aboutsummaryrefslogtreecommitdiff
path: root/build2/target.txx
diff options
context:
space:
mode:
Diffstat (limited to 'build2/target.txx')
-rw-r--r--build2/target.txx4
1 files changed, 2 insertions, 2 deletions
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 <const char* ext>
optional<string>
- target_extension_fix (const target_key&, scope&, bool)
+ target_extension_fix (const target_key&, const scope&, bool)
{
return string (ext);
}
template <const char* var, const char* def>
optional<string>
- 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.
//