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.ixx | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'build2/algorithm.ixx') diff --git a/build2/algorithm.ixx b/build2/algorithm.ixx index 9ff56f8..33a5fe0 100644 --- a/build2/algorithm.ixx +++ b/build2/algorithm.ixx @@ -194,7 +194,7 @@ namespace build2 } inline target_state - execute_prerequisites (action a, const target& t) + straight_execute_prerequisites (action a, const target& t) { auto& p (t.prerequisite_targets); return straight_execute_members (a, t, p.data (), p.size ()); @@ -207,6 +207,13 @@ namespace build2 return reverse_execute_members (a, t, p.data (), p.size ()); } + inline target_state + execute_prerequisites (action a, const target& t) + { + auto& p (t.prerequisite_targets); + return execute_members (a, t, p.data (), p.size ()); + } + // If the first argument is NULL, then the result is treated as a boolean // value. // -- cgit v1.1