diff options
| author | Lioncash <mathew1800@gmail.com> | 2019-04-11 20:01:31 -0400 |
|---|---|---|
| committer | Lioncash <mathew1800@gmail.com> | 2019-04-11 20:01:33 -0400 |
| commit | 32e72641424146fd2cab482ff79cd8b696027300 (patch) | |
| tree | 0bc3dbc20471f4b001a893b7dd24504947899f8a /src/core/core.cpp | |
| parent | 1302d026a12f51d3a5fd8d4c2201dba897adcd6e (diff) | |
common/scope_exit: Replace std::move with std::forward in ScopeExit()
The template type here is actually a forwarding reference, not an rvalue
reference in this case, so it's more appropriate to use std::forward to
preserve the value category of the type being moved.
Diffstat (limited to 'src/core/core.cpp')
0 files changed, 0 insertions, 0 deletions
