From 71c52c4cd4fae2d3900b1c5f77e975803cc05d44 Mon Sep 17 00:00:00 2001 From: John Fletcher Date: Mon, 9 Mar 2015 11:21:18 +0000 Subject: [PATCH] function/lazy_prelude.hpp Remove redundant code. --- include/boost/phoenix/function/lazy_prelude.hpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/include/boost/phoenix/function/lazy_prelude.hpp b/include/boost/phoenix/function/lazy_prelude.hpp index fc1e35a..bfd4cdd 100644 --- a/include/boost/phoenix/function/lazy_prelude.hpp +++ b/include/boost/phoenix/function/lazy_prelude.hpp @@ -668,8 +668,6 @@ namespace boost { template struct EFH { - typedef typename boost::remove_reference TT; - typedef typename boost::remove_const::type TTT; mutable T x; EFH( const T& xx) : x(xx) {} template struct result; @@ -693,7 +691,7 @@ namespace boost { typedef boost::phoenix::function EFH_R_T; EFH_R_T efh_R_T(efh_R_TTT); #ifndef BOOST_PHOENIX_NO_LAZY_EXCEPTIONS - if (x > BOOST_PHOENIX_FUNCTION_MAX_LAZY_LIST_LENGTH) + if (x > BOOST_PHOENIX_FUNCTION_MAX_LAZY_LIST_LENGTH) throw lazy_exception("Running away in EFH!!"); #endif return cons( x-1, efh_R_T() ); @@ -734,8 +732,6 @@ namespace boost { template struct EFTH { - typedef typename boost::remove_reference TT; - typedef typename boost::remove_const::type TTT; mutable T x; T y; EFTH( const T& xx, const T& yy) : x(xx), y(yy) {}