From e588fd9ba279c7e5d8c94b2b3fbcb55d6197f5c4 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Tue, 30 May 2023 13:49:04 +0200 Subject: Fix bug --- libbuild2/dyndep.hxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libbuild2/dyndep.hxx') diff --git a/libbuild2/dyndep.hxx b/libbuild2/dyndep.hxx index 1de2858..4081d19 100644 --- a/libbuild2/dyndep.hxx +++ b/libbuild2/dyndep.hxx @@ -255,8 +255,8 @@ namespace build2 path f, const function& filter = nullptr) { - return inject_group_member ( - a, bs, g, move (f), T::static_type, filter).template as (); + auto p (inject_group_member (a, bs, g, move (f), T::static_type, filter)); + return pair (p.first.template as (), p.second); } // As above but the target type is determined using the map_extension -- cgit v1.1