diff options
-rw-r--r-- | libbuild2/target.ixx | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/libbuild2/target.ixx b/libbuild2/target.ixx index 445c413..822aff9 100644 --- a/libbuild2/target.ixx +++ b/libbuild2/target.ixx @@ -519,13 +519,6 @@ namespace build2 } inline bool mtime_target:: - newer (timestamp mt) const - { - assert (ctx.phase == run_phase::execute); - return newer (mt, executed_state_impl (action () /* inner */)); - } - - inline bool mtime_target:: newer (timestamp mt, target_state s) const { timestamp mp (mtime ()); @@ -538,6 +531,13 @@ namespace build2 return mt < mp || (mt == mp && s == target_state::changed); } + inline bool mtime_target:: + newer (timestamp mt) const + { + assert (ctx.phase == run_phase::execute); + return newer (mt, executed_state_impl (action () /* inner */)); + } + // path_target // inline const path& path_target:: |