aboutsummaryrefslogtreecommitdiff
path: root/build2/cli/rule.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'build2/cli/rule.cxx')
-rw-r--r--build2/cli/rule.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/build2/cli/rule.cxx b/build2/cli/rule.cxx
index 27668c1..6c87490 100644
--- a/build2/cli/rule.cxx
+++ b/build2/cli/rule.cxx
@@ -262,7 +262,7 @@ namespace build2
// Update if depdb mismatch.
//
- if (dd.writing () || dd.mtime () > mt)
+ if (dd.writing () || dd.mtime > mt)
update = true;
dd.close ();