diff options
Diffstat (limited to 'Rx/v2/src/rxcpp')
-rw-r--r-- | Rx/v2/src/rxcpp/sources/rx-iterate.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Rx/v2/src/rxcpp/sources/rx-iterate.hpp b/Rx/v2/src/rxcpp/sources/rx-iterate.hpp index 8832775..cb526b3 100644 --- a/Rx/v2/src/rxcpp/sources/rx-iterate.hpp +++ b/Rx/v2/src/rxcpp/sources/rx-iterate.hpp @@ -53,7 +53,7 @@ template<class Collection> struct iterate_traits { typedef rxu::decay_t<Collection> collection_type; - typedef decltype(std::begin(*(collection_type*)nullptr)) iterator_type; + typedef rxu::decay_t<decltype(std::begin(*(collection_type*)nullptr))> iterator_type; typedef rxu::value_type_t<std::iterator_traits<iterator_type>> value_type; }; |