summaryrefslogtreecommitdiff
path: root/boost/fusion/container/map/detail/deref_data_impl.hpp
diff options
context:
space:
mode:
authorAnas Nashif <anas.nashif@intel.com>2013-08-26 08:15:55 -0400
committerAnas Nashif <anas.nashif@intel.com>2013-08-26 08:15:55 -0400
commitbb4dd8289b351fae6b55e303f189127a394a1edd (patch)
tree77c9c35a31b1459dd7988c2448e797d142530c41 /boost/fusion/container/map/detail/deref_data_impl.hpp
parent1a78a62555be32868418fe52f8e330c9d0f95d5a (diff)
downloadboost-bb4dd8289b351fae6b55e303f189127a394a1edd.tar.gz
boost-bb4dd8289b351fae6b55e303f189127a394a1edd.tar.bz2
boost-bb4dd8289b351fae6b55e303f189127a394a1edd.zip
Imported Upstream version 1.51.0upstream/1.51.0
Diffstat (limited to 'boost/fusion/container/map/detail/deref_data_impl.hpp')
-rw-r--r--boost/fusion/container/map/detail/deref_data_impl.hpp9
1 files changed, 4 insertions, 5 deletions
diff --git a/boost/fusion/container/map/detail/deref_data_impl.hpp b/boost/fusion/container/map/detail/deref_data_impl.hpp
index 07087a39a8..8304c898ee 100644
--- a/boost/fusion/container/map/detail/deref_data_impl.hpp
+++ b/boost/fusion/container/map/detail/deref_data_impl.hpp
@@ -12,8 +12,7 @@
#include <boost/fusion/iterator/deref.hpp>
#include <boost/fusion/support/detail/access.hpp>
#include <boost/type_traits/is_const.hpp>
-#include <boost/mpl/eval_if.hpp>
-#include <boost/mpl/identity.hpp>
+#include <boost/mpl/if.hpp>
namespace boost { namespace fusion { namespace extension
{
@@ -29,10 +28,10 @@ namespace boost { namespace fusion { namespace extension
typedef typename result_of::value_of<It>::type::second_type data;
typedef typename
- mpl::eval_if<
+ mpl::if_<
is_const<typename It::seq_type>
- , detail::cref_result<mpl::identity<data> >
- , detail::ref_result<mpl::identity<data> >
+ , typename detail::cref_result<data>::type
+ , typename detail::ref_result<data>::type
>::type
type;