Fix GCC 4.9.2 CE.

GitOrigin-RevId: 5cc03767018d976c5833127e51ee0f010b3049b3
This commit is contained in:
levlam 2018-09-21 20:57:20 +03:00
parent f08c0180b4
commit 3c8e8f106f

View File

@ -358,12 +358,12 @@ struct reversion_wrapper {
template <typename T>
auto begin(reversion_wrapper<T> w) {
return rbegin(w.iterable);
return w.iterable.rbegin();
}
template <typename T>
auto end(reversion_wrapper<T> w) {
return rend(w.iterable);
return w.iterable.rend();
}
} // namespace detail