mirror of
https://github.com/gelldur/EventBus.git
synced 2025-01-14 09:17:56 +08:00
625d6b0de5
Fix for build and improve forwarding rvalues. Before change when postpone() with lvalue: - Total ctor:1 - Total COPY ctor:2 - Total MOVE ctor:2 After: (1 less copy) - Total ctor:1 - Total COPY ctor:1 - Total MOVE ctor:2 --- Before change when postpone() with rvalue: - Total ctor:1 - Total COPY ctor:1 - Total MOVE ctor:2 After: (instead copy, move) - Total ctor:1 - Total COPY ctor:0 - Total MOVE ctor:3