summaryrefslogtreecommitdiff
path: root/boost/phoenix/core/detail/cpp03/expression.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/phoenix/core/detail/cpp03/expression.hpp')
-rw-r--r--boost/phoenix/core/detail/cpp03/expression.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/boost/phoenix/core/detail/cpp03/expression.hpp b/boost/phoenix/core/detail/cpp03/expression.hpp
index 0c4a836427..e0c375a9d8 100644
--- a/boost/phoenix/core/detail/cpp03/expression.hpp
+++ b/boost/phoenix/core/detail/cpp03/expression.hpp
@@ -43,10 +43,10 @@
#define M0(Z, N, D) \
BOOST_PP_COMMA_IF(N) \
- typename proto::detail::uncvref<typename call_traits<BOOST_PP_CAT(A, N)>::value_type>::type
+ typename proto::detail::uncvref<BOOST_PP_CAT(A, N)>::type
#define M1(Z, N, D) \
- BOOST_PP_COMMA_IF(N) typename call_traits<BOOST_PP_CAT(A, N)>::param_type BOOST_PP_CAT(a, N)
+ BOOST_PP_COMMA_IF(N) typename boost::add_reference<typename boost::add_const<BOOST_PP_CAT(A, N)>::type>::type BOOST_PP_CAT(a, N)
#define BOOST_PHOENIX_ITERATION_PARAMS \
(3, (1, BOOST_PHOENIX_COMPOSITE_LIMIT, \