From e707cd8754488d140a66a06c4f760e2a20e29c0d Mon Sep 17 00:00:00 2001 From: Olivier Parcollet Date: Tue, 30 Jul 2013 15:53:05 +0200 Subject: [PATCH] correction tuple_tools for gcc 4.6 --- triqs/utility/tuple_tools.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/triqs/utility/tuple_tools.hpp b/triqs/utility/tuple_tools.hpp index ff23d845..2bc12052 100644 --- a/triqs/utility/tuple_tools.hpp +++ b/triqs/utility/tuple_tools.hpp @@ -177,7 +177,7 @@ namespace triqs { namespace tuple { }; template - auto apply_on_zip (F && f,T1 && t1, T2 && t2) DECL_AND_RETURN( apply_on_zip_impl::type>::value-1>()(std::forward(f),std::forward(t1),std::forward(t2))); + auto apply_on_zip (F && f,T1 && t1, T2 && t2) DECL_AND_RETURN( apply_on_zip_impl::type>::type>::value-1>()(std::forward(f),std::forward(t1),std::forward(t2))); /** * apply_on_zip(f, t1,t2,t3) @@ -198,7 +198,7 @@ namespace triqs { namespace tuple { }; template - auto apply_on_zip (F && f,T1 && t1, T2 && t2, T3 && t3) DECL_AND_RETURN( apply_on_zip3_impl::type>::value-1>()(std::forward(f),std::forward(t1),std::forward(t2),std::forward(t3))); + auto apply_on_zip (F && f,T1 && t1, T2 && t2, T3 && t3) DECL_AND_RETURN( apply_on_zip3_impl::type>::type>::value-1>()(std::forward(f),std::forward(t1),std::forward(t2),std::forward(t3))); /** * call_on_zip(f, t1,t2,t3)