aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/install
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2020-06-25 09:00:12 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2020-06-25 09:00:12 +0200
commita17b6b40510b8ec5ca18dd5203e4b229aa6fee8a (patch)
treefccf8e19b16775cbcf714a19a386bdc86ef1ec05 /libbuild2/install
parent3875999b2642013dfddd6cb1fa7b3ee7ac14f9d7 (diff)
Add more instrumentation for unassigned path race
Diffstat (limited to 'libbuild2/install')
-rw-r--r--libbuild2/install/rule.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/libbuild2/install/rule.cxx b/libbuild2/install/rule.cxx
index b8d6a34..901b048 100644
--- a/libbuild2/install/rule.cxx
+++ b/libbuild2/install/rule.cxx
@@ -313,7 +313,7 @@ namespace build2
//
optional<bool> unchanged;
if (a.operation () == update_id)
- unchanged = match_inner (a, t, unmatch::unchanged);
+ unchanged = match_inner (a, t, unmatch::unchanged).first;
auto& pts (t.prerequisite_targets[a]);
@@ -367,7 +367,7 @@ namespace build2
// when updating static installable content (headers, documentation,
// etc).
//
- if (build2::match (a, *pt, unmatch::unchanged))
+ if (build2::match (a, *pt, unmatch::unchanged).first)
pt = nullptr;
}
else if (!try_match (a, *pt).first)