From 2eca9d8659355e7cc02356f37326e7421b8c1f96 Mon Sep 17 00:00:00 2001 From: Olivier Parcollet Date: Wed, 30 Oct 2013 13:19:58 +0100 Subject: [PATCH] clef : forgot a forward in unary operator eval --- triqs/clef/clef.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/triqs/clef/clef.hpp b/triqs/clef/clef.hpp index e681661f..217552f2 100644 --- a/triqs/clef/clef.hpp +++ b/triqs/clef/clef.hpp @@ -179,7 +179,7 @@ namespace triqs { namespace clef { #define TRIQS_CLEF_OPERATION(TAG,OP)\ namespace tags { struct TAG : unary_op { static const char * name() { return BOOST_PP_STRINGIZE(OP);} };}\ template<> struct operation {\ - template auto operator()(L const & l) const DECL_AND_RETURN (OP _cl(l));\ + template auto operator()(L && l) const DECL_AND_RETURN (OP _cl(std::forward(l)));\ };\ template\ typename std::enable_if::value, expr::type> >::type \