aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/algorithm.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2023-10-06 10:45:14 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2023-10-06 10:45:14 +0200
commit5a8a996950ce12dac0e1b200e22386c3413fa4ec (patch)
treeab56e27eac1a42394d4bc9c993a5b3f5f856dc95 /libbuild2/algorithm.hxx
parent0a1f06d11edb1d48fd8c848348031bf08652a580 (diff)
Handle 0 mask in update_during_match_prerequisites()
Diffstat (limited to 'libbuild2/algorithm.hxx')
-rw-r--r--libbuild2/algorithm.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbuild2/algorithm.hxx b/libbuild2/algorithm.hxx
index dedfe33..779578e 100644
--- a/libbuild2/algorithm.hxx
+++ b/libbuild2/algorithm.hxx
@@ -658,7 +658,7 @@ namespace build2
// As above, but update all the targets in prerequisite_targets that have
// the specified mask in prerequisite_target::include. Return true if any of
- // them have changed.
+ // them have changed. If mask is 0, then update all the targets.
//
// Note that this function spoils prerequisite_target::data (which is used
// for temporary storage). But it resets data to 0 once done.