Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 61d967af authored by Jakub Pawlowski's avatar Jakub Pawlowski
Browse files

Don't use move in FOR_EACH_* macro

FOR_EACH_* macros are resolved to for loop. Using std::move inside it
will cause already moved object to be used when more than one observer
is registered. This patch fixes that.

Change-Id: Iaaa314f5eeed4094d1e0fc951d3664fb1514ba15
parent e7f52ac8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment