From 9fd7e2b46be27b959c0e84620fca4314f129ce02 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Fri, 8 Dec 2017 17:24:12 +0200 Subject: Resolve VC issue --- build2/target.txx | 14 +++++++------- 1 file 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 - 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 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 @@ -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). { -- cgit v1.1