From 5900f155a4a0da88cfd56bedccef0c74cc19c9f7 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Tue, 8 Jun 2021 12:47:40 +0200 Subject: Get rid of special *{} wildcard target type notation in target type/patterns Explicit target{} should be used instead. Also, in this context, absent target type is now treated as file{} rather than target{}, for consistency with all other cases. --- libbuild2/target.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libbuild2/target.hxx') diff --git a/libbuild2/target.hxx b/libbuild2/target.hxx index e8895ea..01f01e1 100644 --- a/libbuild2/target.hxx +++ b/libbuild2/target.hxx @@ -786,8 +786,8 @@ namespace build2 return derived_type != nullptr ? *derived_type : dynamic_type (); } - virtual const target_type& dynamic_type () const = 0; static const target_type static_type; + virtual const target_type& dynamic_type () const = 0; // RW access. // -- cgit v1.1