summaryrefslogtreecommitdiff
path: root/boost/fusion/view/nview/detail/deref_impl.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/fusion/view/nview/detail/deref_impl.hpp')
-rw-r--r--boost/fusion/view/nview/detail/deref_impl.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/boost/fusion/view/nview/detail/deref_impl.hpp b/boost/fusion/view/nview/detail/deref_impl.hpp
index 075f0b0f18..bbdb982528 100644
--- a/boost/fusion/view/nview/detail/deref_impl.hpp
+++ b/boost/fusion/view/nview/detail/deref_impl.hpp
@@ -8,6 +8,7 @@
#if !defined(BOOST_FUSION_NVIEW_DEREF_IMPL_SEP_24_2009_0818AM)
#define BOOST_FUSION_NVIEW_DEREF_IMPL_SEP_24_2009_0818AM
+#include <boost/fusion/support/config.hpp>
#include <boost/fusion/iterator/deref.hpp>
#include <boost/fusion/container/vector.hpp>
@@ -33,6 +34,7 @@ namespace boost { namespace fusion
typedef typename result_of::at<
typename sequence_type::sequence_type, index>::type type;
+ BOOST_FUSION_GPU_ENABLED
static type call(Iterator const& i)
{
return at<index>(i.seq.seq);