diff --git a/include/boost/phoenix/function/lazy_list.hpp b/include/boost/phoenix/function/lazy_list.hpp index 6e4f50e..4c2c047 100644 --- a/include/boost/phoenix/function/lazy_list.hpp +++ b/include/boost/phoenix/function/lazy_list.hpp @@ -864,14 +864,6 @@ public: { return f; } - /* - template - typename boost::phoenix::function operator() - (boost::phoenix::function const& f) const - { - return f; - } - */ }; @@ -1196,8 +1188,9 @@ bool operator<( a_unique_type_for_nil, const list& b ) { }; template struct ConsHelp1 { + typedef typename boost::remove_reference::type TT; typedef typename L::force_result_type type; - static type go( const T& x, const L& l ) { + static type go( const TT& x, const L& l ) { return type(x,l); } };