diff options
Diffstat (limited to 'boost/phoenix/core/terminal.hpp')
-rw-r--r-- | boost/phoenix/core/terminal.hpp | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/boost/phoenix/core/terminal.hpp b/boost/phoenix/core/terminal.hpp index f161393258..59f3784916 100644 --- a/boost/phoenix/core/terminal.hpp +++ b/boost/phoenix/core/terminal.hpp @@ -9,7 +9,6 @@ #define BOOST_PHOENIX_CORE_TERMINAL_HPP #include <boost/phoenix/core/limits.hpp> -#include <boost/call_traits.hpp> #include <boost/is_placeholder.hpp> #include <boost/phoenix/core/actor.hpp> #include <boost/phoenix/core/meta_grammar.hpp> @@ -58,9 +57,7 @@ namespace boost { namespace phoenix { template <typename T, template <typename> class Actor = actor> struct terminal - : proto::terminal< - T//typename call_traits<T>::value_type - > + : proto::terminal<T> { typedef proto::basic_expr< @@ -72,7 +69,7 @@ namespace boost { namespace phoenix base_type; typedef Actor<base_type> type; - static const type make(typename call_traits<T>::param_type t) + static const type make(T const& t) { // ?? Should the next line be Actor not actor which is the default? actor<base_type> const e = {base_type::make(t)}; |