From 5747a861f93ad61b22ad768bcf344cbcf36c332f Mon Sep 17 00:00:00 2001 From: Rolan Reznik Date: Fri, 28 Aug 2020 17:15:51 +0300 Subject: [PATCH] reference_wrapper change allowing to use it for pure abstract classes (#262) --- include/etl/functional.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/etl/functional.h b/include/etl/functional.h index a540f3a7..b00835f5 100644 --- a/include/etl/functional.h +++ b/include/etl/functional.h @@ -62,7 +62,7 @@ namespace etl return *t; } - reference_wrapper& operator = (T value) + reference_wrapper& operator = (T& value) { *t = value; return *this;