aboutsummaryrefslogtreecommitdiff
path: root/build2/algorithm.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'build2/algorithm.cxx')
-rw-r--r--build2/algorithm.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/build2/algorithm.cxx b/build2/algorithm.cxx
index 29bae6d..2ce34e3 100644
--- a/build2/algorithm.cxx
+++ b/build2/algorithm.cxx
@@ -179,7 +179,7 @@ namespace build2
{
case target::offset_executed:
{
- if (t.action == a || t.action > a)
+ if (t.action >= a)
{
// We don't lock already executed targets.
//
@@ -210,7 +210,7 @@ namespace build2
}
else
{
- assert (t.action > a || a == t.action);
+ assert (t.action >= a);
// Release the lock if already applied for this action. This is
// necessary no to confuse execute since otherwise it might see