aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/target.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2019-08-23 12:24:23 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2019-08-23 12:24:23 +0200
commit20f97f06ce54c31e32cf58cfd1b7cae3617c1661 (patch)
tree77c38da3112396d66bebd167434f628e0115c6e6 /libbuild2/target.hxx
parente7cc0a1a047ebe864f17e7d354214458cf87554e (diff)
Get rid of var_extension char array
Diffstat (limited to 'libbuild2/target.hxx')
-rw-r--r--libbuild2/target.hxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/libbuild2/target.hxx b/libbuild2/target.hxx
index f1c9d5f..b0d46e9 100644
--- a/libbuild2/target.hxx
+++ b/libbuild2/target.hxx
@@ -1806,14 +1806,14 @@ namespace build2
string&, optional<string>&, const location&,
bool);
- // Get the extension from the variable or use the default if none set. If
- // the default is NULL, then return NULL.
+ // Get the extension from the `extension` variable or use the default if
+ // none set. If the default is NULL, then return NULL.
//
- template <const char* var, const char* def>
+ template <const char* def>
optional<string>
target_extension_var (const target_key&, const scope&, const char*, bool);
- template <const char* var, const char* def>
+ template <const char* def>
bool
target_pattern_var (const target_type&, const scope&,
string&, optional<string>&, const location&,