summaryrefslogtreecommitdiff
path: root/boost/phoenix/core/terminal.hpp
diff options
context:
space:
mode:
authorDongHun Kwak <dh0128.kwak@samsung.com>2019-12-05 15:12:59 +0900
committerDongHun Kwak <dh0128.kwak@samsung.com>2019-12-05 15:12:59 +0900
commitb8cf34c691623e4ec329053cbbf68522a855882d (patch)
tree34da08632a99677f6b79ecb65e5b655a5b69a67f /boost/phoenix/core/terminal.hpp
parent3fdc3e5ee96dca5b11d1694975a65200787eab86 (diff)
downloadboost-b8cf34c691623e4ec329053cbbf68522a855882d.tar.gz
boost-b8cf34c691623e4ec329053cbbf68522a855882d.tar.bz2
boost-b8cf34c691623e4ec329053cbbf68522a855882d.zip
Imported Upstream version 1.67.0upstream/1.67.0
Diffstat (limited to 'boost/phoenix/core/terminal.hpp')
-rw-r--r--boost/phoenix/core/terminal.hpp7
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)};