Skip to content

Commit

Permalink
Merge pull request #274 from Kojoley/fix-classic-phoenix-actor-remove…
Browse files Browse the repository at this point in the history
…_reference

Classic: Fix `remove_reference` usage without a namespace
  • Loading branch information
Kojoley committed Nov 12, 2017
2 parents 85fa626 + ebcedd2 commit 632252b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion include/boost/spirit/home/classic/phoenix/actor.hpp
Expand Up @@ -10,6 +10,7 @@

///////////////////////////////////////////////////////////////////////////////
#include <boost/spirit/home/classic/phoenix/tuples.hpp>
#include <boost/type_traits/remove_reference.hpp>

///////////////////////////////////////////////////////////////////////////////
namespace phoenix {
Expand Down Expand Up @@ -120,7 +121,7 @@ template <typename ActorT, typename TupleT>
struct actor_result {

typedef typename ActorT::template result<TupleT>::type type;
typedef typename remove_reference<type>::type plain_type;
typedef typename boost::remove_reference<type>::type plain_type;
};

//////////////////////////////////
Expand Down

0 comments on commit 632252b

Please sign in to comment.