summaryrefslogtreecommitdiff
path: root/boost/fusion/container/map/convert.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/fusion/container/map/convert.hpp')
-rw-r--r--boost/fusion/container/map/convert.hpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/boost/fusion/container/map/convert.hpp b/boost/fusion/container/map/convert.hpp
index d106610b7b..10431c849e 100644
--- a/boost/fusion/container/map/convert.hpp
+++ b/boost/fusion/container/map/convert.hpp
@@ -17,7 +17,7 @@ namespace boost { namespace fusion { namespace detail
{
typedef typename result_of::value_of<It>::type type;
- BOOST_FUSION_GPU_ENABLED
+ BOOST_CONSTEXPR BOOST_FUSION_GPU_ENABLED
static inline type call(It const& it)
{
return *it;
@@ -31,7 +31,7 @@ namespace boost { namespace fusion { namespace detail
typedef typename result_of::value_of_data<It>::type data_type;
typedef typename fusion::pair<key_type, data_type> type;
- BOOST_FUSION_GPU_ENABLED
+ BOOST_CONSTEXPR BOOST_FUSION_GPU_ENABLED
static inline type call(It const& it)
{
return type(deref_data(it));
@@ -69,7 +69,7 @@ namespace boost { namespace fusion
}
template <typename Sequence>
- BOOST_FUSION_GPU_ENABLED
+ BOOST_CONSTEXPR BOOST_FUSION_GPU_ENABLED
inline typename result_of::as_map<Sequence>::type
as_map(Sequence& seq)
{
@@ -78,7 +78,7 @@ namespace boost { namespace fusion
}
template <typename Sequence>
- BOOST_FUSION_GPU_ENABLED
+ BOOST_CONSTEXPR BOOST_FUSION_GPU_ENABLED
inline typename result_of::as_map<Sequence const>::type
as_map(Sequence const& seq)
{
@@ -101,7 +101,7 @@ namespace boost { namespace fusion
result_of::as_map<Sequence>::type
type;
- BOOST_FUSION_GPU_ENABLED
+ BOOST_CONSTEXPR BOOST_FUSION_GPU_ENABLED
static type call(Sequence& seq)
{
typedef result_of::as_map<Sequence> gen;