summaryrefslogtreecommitdiff
path: root/boost/fusion/container/vector/detail/distance_impl.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/fusion/container/vector/detail/distance_impl.hpp')
-rw-r--r--boost/fusion/container/vector/detail/distance_impl.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/boost/fusion/container/vector/detail/distance_impl.hpp b/boost/fusion/container/vector/detail/distance_impl.hpp
index 948355383f..4c2a1226d6 100644
--- a/boost/fusion/container/vector/detail/distance_impl.hpp
+++ b/boost/fusion/container/vector/detail/distance_impl.hpp
@@ -24,8 +24,8 @@ namespace boost { namespace fusion
{
template <typename First, typename Last>
struct apply : mpl::minus<typename Last::index, typename First::index>
- {
- BOOST_FUSION_GPU_ENABLED
+ {
+ BOOST_CONSTEXPR BOOST_FUSION_GPU_ENABLED
static typename mpl::minus<
typename Last::index, typename First::index>::type
call(First const&, Last const&)