diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2017-02-08 09:39:16 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2017-02-13 12:42:42 +0200 |
commit | 9aa99bc4e62909c119df72bda26b091245d48274 (patch) | |
tree | 45814aef0b6e22cf5edbd6c9c63d97e74c9ee399 /build2/algorithm.ixx | |
parent | 8aee78c8d0eb06334571e596f6fbdf7ed5756f0c (diff) |
Do some naming cleanups
Diffstat (limited to 'build2/algorithm.ixx')
-rw-r--r-- | build2/algorithm.ixx | 9 |
1 files changed, 8 insertions, 1 deletions
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. // |