Skip to content

Commit

Permalink
reference_wrapper change allowing to use it for pure abstract classes (
Browse files Browse the repository at this point in the history
  • Loading branch information
rolan-reznik authored Aug 28, 2020
1 parent a33a70b commit 5747a86
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/etl/functional.h
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ namespace etl
return *t;
}

reference_wrapper<T>& operator = (T value)
reference_wrapper<T>& operator = (T& value)
{
*t = value;
return *this;
Expand Down

0 comments on commit 5747a86

Please sign in to comment.