aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2020-12-03 10:33:57 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2020-12-03 10:33:57 +0200
commita34582df17e2ca4a4e1b204152c82d935bca7467 (patch)
treecc1d3bb22db6810e8facc7b1b7a16e6556b3680b
parent0ff39fd77b3127c7a250e7f817e34dfaecbcc208 (diff)
Fix bug in target::has_group_prerequisites()
-rw-r--r--libbuild2/target.ixx2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbuild2/target.ixx b/libbuild2/target.ixx
index f9db558..df1cf5b 100644
--- a/libbuild2/target.ixx
+++ b/libbuild2/target.ixx
@@ -196,7 +196,7 @@ namespace build2
has_group_prerequisites () const
{
return has_prerequisites () ||
- (group != nullptr && !group->has_prerequisites ());
+ (group != nullptr && group->has_prerequisites ());
}
inline bool target::