@@ -56,9 +56,9 @@ namespace moose
56
56
57
57
static constexpr bool wantsToUnpack = true ;
58
58
59
- static auto toRange (Type& vector) -> Range <decltype (vector.begin ())>
59
+ static auto toRange (Type& vector)
60
60
{
61
- return { vector.begin (), vector.end ()} ;
61
+ return makeRange ( vector.begin (), vector.end ()) ;
62
62
}
63
63
64
64
static void pushBack (Type& vector, ValueType const & value)
@@ -77,9 +77,9 @@ namespace moose
77
77
78
78
static constexpr EntryType entryType = EntryType::Vector;
79
79
80
- static auto toRange (Type& map) -> Range <decltype (map.begin ())>
80
+ static auto toRange (Type& map)
81
81
{
82
- return { map.begin (), map.end ()} ;
82
+ return makeRange ( map.begin (), map.end ()) ;
83
83
}
84
84
85
85
static void pushBack (Type& map, ValueType const & value)
@@ -97,9 +97,9 @@ namespace moose
97
97
98
98
static constexpr EntryType entryType = EntryType::Vector;
99
99
100
- static auto toRange (Type& set) -> Range <decltype (set.begin ())>
100
+ static auto toRange (Type& set)
101
101
{
102
- return { set.begin (), set.end ()} ;
102
+ return makeRange ( set.begin (), set.end ()) ;
103
103
}
104
104
105
105
static void pushBack (Type& set, ValueType const & value)
0 commit comments