From a2cad68fe340a66ad54b93f88e39f97898fc462e Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Tue, 1 Aug 2017 10:49:09 +0200 Subject: Reimplement pkg-config generation with more conservative approach for now --- build2/test/rule.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'build2/test') diff --git a/build2/test/rule.cxx b/build2/test/rule.cxx index c9a1fb9..05f3988 100644 --- a/build2/test/rule.cxx +++ b/build2/test/rule.cxx @@ -182,7 +182,7 @@ namespace build2 // standard alias rule. // if (a.operation () == update_id) - return match_delegate (a, t, *this).first; + return match_delegate (a, t, *this); // For the test operation we have to implement our own search and match // because we need to ignore prerequisites that are outside of our @@ -219,7 +219,7 @@ namespace build2 if (md.script) { if (a.operation () == update_id) - return match_delegate (a, t, *this).first; + return match_delegate (a, t, *this); // Collect all the testscript targets in prerequisite_targets. // @@ -320,7 +320,7 @@ namespace build2 // been found if we signalled that we do not match from match() // above. // - recipe d (match_delegate (a, t, *this).first); + recipe d (match_delegate (a, t, *this)); // If we have no input/output that needs updating, then simply // redirect to it. -- cgit v1.1