aboutsummaryrefslogtreecommitdiff
path: root/build/target
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2015-12-16 19:05:13 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2015-12-16 19:05:13 +0200
commit8c6a663bddd6e5d34c3244ef8f764b22efee4af6 (patch)
treeb0f53179c5243380bd2eadc3d9f10b4bd2b84b36 /build/target
parentaded6de920f420b5c36fee1081c795cf8c6c6dc9 (diff)
Revert back to using C++14 auto return type
Explicit specification is just too ugly. But can always go back if needed.
Diffstat (limited to 'build/target')
-rw-r--r--build/target9
1 files changed, 4 insertions, 5 deletions
diff --git a/build/target b/build/target
index c848f14..22b5e89 100644
--- a/build/target
+++ b/build/target
@@ -709,7 +709,7 @@ namespace build
// prerequisite_members(t.prerequisites)
//
- inline prerequisite_members_range<target::prerequisites_type&>
+ inline auto
prerequisite_members (action a, target& t, bool members = true)
{
return prerequisite_members (a, t.prerequisites, members);
@@ -717,8 +717,7 @@ namespace build
// prerequisite_members(reverse_iterate(t.prerequisites))
//
- inline prerequisite_members_range<
- butl::reverse_range<target::prerequisites_type&>>
+ inline auto
reverse_prerequisite_members (action a, target& t, bool members = true)
{
return prerequisite_members (
@@ -727,7 +726,7 @@ namespace build
// prerequisite_members(group_prerequisites (t))
//
- inline prerequisite_members_range<group_prerequisites>
+ inline auto
group_prerequisite_members (action a, target& t, bool members = true)
{
return prerequisite_members (a, group_prerequisites (t), members);
@@ -735,7 +734,7 @@ namespace build
// prerequisite_members(reverse_iterate (group_prerequisites (t)))
//
- inline prerequisite_members_range<butl::reverse_range<group_prerequisites>>
+ inline auto
reverse_group_prerequisite_members (action a, target& t, bool members = true)
{
return prerequisite_members (