aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/target.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/target.hxx
parent0a1f06d11edb1d48fd8c848348031bf08652a580 (diff)
Handle 0 mask in update_during_match_prerequisites()
Diffstat (limited to 'libbuild2/target.hxx')
-rw-r--r--libbuild2/target.hxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/libbuild2/target.hxx b/libbuild2/target.hxx
index 99383e7..1178371 100644
--- a/libbuild2/target.hxx
+++ b/libbuild2/target.hxx
@@ -589,7 +589,8 @@ namespace build2
prerequisites () const;
// Swap-in a list of prerequisites. Return false if unsuccessful (i.e.,
- // someone beat us to it). Note that it can be called on const target.
+ // someone beat us to it), in which case the passed prerequisites are
+ // not moved. Note that it can be called on const target.
//
bool
prerequisites (prerequisites_type&&) const;