summaryrefslogtreecommitdiff
path: root/boost/fusion/container/list/detail/reverse_cons.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/fusion/container/list/detail/reverse_cons.hpp')
-rw-r--r--boost/fusion/container/list/detail/reverse_cons.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/boost/fusion/container/list/detail/reverse_cons.hpp b/boost/fusion/container/list/detail/reverse_cons.hpp
index f80e2c2d30..14905180fb 100644
--- a/boost/fusion/container/list/detail/reverse_cons.hpp
+++ b/boost/fusion/container/list/detail/reverse_cons.hpp
@@ -22,7 +22,7 @@ namespace boost { namespace fusion { namespace detail
typedef reverse_cons<Cdr, cons<Car, State> > impl;
typedef typename impl::type type;
- BOOST_FUSION_GPU_ENABLED
+ BOOST_CONSTEXPR BOOST_FUSION_GPU_ENABLED
static type call(cons<Car, Cdr> const &cons, State const &state = State())
{
typedef fusion::cons<Car, State> cdr_type;
@@ -35,7 +35,7 @@ namespace boost { namespace fusion { namespace detail
{
typedef State type;
- BOOST_FUSION_GPU_ENABLED
+ BOOST_CONSTEXPR BOOST_FUSION_GPU_ENABLED
static State const &call(nil_ const &, State const &state = State())
{
return state;