diff --git a/triqs/clef/clef.c11.hpp b/triqs/clef/clef.c11.hpp index fbf52a61..b76fdf99 100644 --- a/triqs/clef/clef.c11.hpp +++ b/triqs/clef/clef.c11.hpp @@ -573,7 +573,7 @@ namespace triqs { namespace clef { } \ }; \ template \ - auto name(A&&... a) const -> typename triqs::clef::_result_of::make_expr_call<__clef_lazy_method_impl_##TY##_##name,const Obj&,A...>::type \ + auto name(A&&... a) const -> typename triqs::clef::_result_of::make_expr_call<__clef_lazy_method_impl_##TY##_##name,const TY &,A...>::type \ { return make_expr_call(__clef_lazy_method_impl_##TY##_##name{}, *this, std::forward(a)...);} #define TRIQS_CLEF_IMPLEMENT_LAZY_CALL(...) \