From 5f416e24fcbf020d3bb3bfd975c2a4e7e94245e6 Mon Sep 17 00:00:00 2001 From: Kohei Takahashi Date: Thu, 6 Nov 2014 09:55:31 +0900 Subject: [PATCH] Use category_of to get correct iterator category. --- include/boost/fusion/iterator/iterator_adapter.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/boost/fusion/iterator/iterator_adapter.hpp b/include/boost/fusion/iterator/iterator_adapter.hpp index 5b6d44ff..7e860c77 100644 --- a/include/boost/fusion/iterator/iterator_adapter.hpp +++ b/include/boost/fusion/iterator/iterator_adapter.hpp @@ -8,6 +8,7 @@ #define FUSION_ITERATOR_ADAPTER_08112011_0942 #include +#include #include #include #include @@ -21,7 +22,7 @@ namespace boost { namespace fusion { template + typename Category = typename traits::category_of::type> struct iterator_adapter : iterator_facade {