aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/install/rule.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'libbuild2/install/rule.cxx')
-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)