summaryrefslogtreecommitdiff
path: root/boost/fusion/iterator/next.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/fusion/iterator/next.hpp')
-rw-r--r--boost/fusion/iterator/next.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/boost/fusion/iterator/next.hpp b/boost/fusion/iterator/next.hpp
index bd76eac..d6ca3d6 100644
--- a/boost/fusion/iterator/next.hpp
+++ b/boost/fusion/iterator/next.hpp
@@ -54,8 +54,8 @@ namespace boost { namespace fusion
}
template <typename Iterator>
- BOOST_FUSION_GPU_ENABLED
- typename result_of::next<Iterator>::type const
+ BOOST_CONSTEXPR BOOST_FUSION_GPU_ENABLED
+ inline typename result_of::next<Iterator>::type const
next(Iterator const& i)
{
return result_of::next<Iterator>::call(i);