aboutsummaryrefslogtreecommitdiff
path: root/build/algorithm.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'build/algorithm.cxx')
-rw-r--r--build/algorithm.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/build/algorithm.cxx b/build/algorithm.cxx
index 16bc1bc..4c3ae08 100644
--- a/build/algorithm.cxx
+++ b/build/algorithm.cxx
@@ -213,7 +213,7 @@ namespace build
// the prerequisite was updated in this run which means the
// target must be out of date.
//
- if (mt < mp || mt == mp && ts == target_state::updated)
+ if (mt < mp || (mt == mp && ts == target_state::updated))
u = true;
}
else