Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
future-util: do not "return move(local_var)"
GCC and clang warns like warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] 580 | return std::move(f); | ^ Signed-off-by: Kefu Chai <[email protected]>
- Loading branch information