aboutsummaryrefslogtreecommitdiff
path: root/build2/target.txx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2017-12-08 17:24:12 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2017-12-08 17:24:12 +0200
commit9fd7e2b46be27b959c0e84620fca4314f129ce02 (patch)
treef501285f4c7fc9e580d62e327e0c62f17681004c /build2/target.txx
parentdd078eec87eb89a9a21c22b1a18f982d04adb3c9 (diff)
Resolve VC issue
Diffstat (limited to 'build2/target.txx')
-rw-r--r--build2/target.txx14
1 files changed, 7 insertions, 7 deletions
diff --git a/build2/target.txx b/build2/target.txx
index 5cb4732..065c8f2 100644
--- a/build2/target.txx
+++ b/build2/target.txx
@@ -84,11 +84,11 @@ namespace build2
}
inline optional<string>
- target_extension_var (const target_type& tt,
- const string& tn,
- const scope& s,
- const char* var,
- const char* def)
+ target_extension_var_impl (const target_type& tt,
+ const string& tn,
+ const scope& s,
+ const char* var,
+ const char* def)
{
// Include target type/pattern-specific variables.
//
@@ -107,7 +107,7 @@ namespace build2
optional<string>
target_extension_var (const target_key& tk, const scope& s, bool)
{
- return target_extension_var (*tk.type, *tk.name, s, var, def);
+ return target_extension_var_impl (*tk.type, *tk.name, s, var, def);
}
template <const char* var, const char* def>
@@ -132,7 +132,7 @@ namespace build2
// Use empty name as a target since we only want target type/pattern-
// specific variables that match any target (e.g., '*' but not '*.txt').
//
- if (auto e = target_extension_var (tt, string (), s, var, def))
+ if (auto e = target_extension_var_impl (tt, string (), s, var, def))
{
if (!e->empty ()) // Don't add empty extension (means no extension).
{