Commit b5696410 authored by Lioncash's avatar Lioncash
Browse files

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.
parent 2598433f
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment