From 9aa99bc4e62909c119df72bda26b091245d48274 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 8 Feb 2017 09:39:16 +0200 Subject: Do some naming cleanups --- build2/algorithm.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'build2/algorithm.cxx') diff --git a/build2/algorithm.cxx b/build2/algorithm.cxx index 1ede115..872b10e 100644 --- a/build2/algorithm.cxx +++ b/build2/algorithm.cxx @@ -669,6 +669,8 @@ namespace build2 action a, const target& t, const timestamp& mt, const prerequisite_filter& pf) { + assert (current_mode == execution_mode::first); + // Pretty much as straight_execute_members() but hairier. // target_state rs (target_state::unchanged); @@ -766,9 +768,7 @@ namespace build2 target_state default_action (action a, const target& t) { - return current_mode == execution_mode::first - ? execute_prerequisites (a, t) - : reverse_execute_prerequisites (a, t); + return execute_prerequisites (a, t); } target_state -- cgit v1.1