Fix pessimizing moves (#1131)
Summary: - GCC 9.1 warns when moving a local object in a return statement prevents copy elision. - Remove the explicit `std::move` in those return statements. Pull Request resolved: https://github.com/facebook/folly/pull/1131 Reviewed By: LeeHowes Differential Revision: D15391413 Pulled By: yfeldblum fbshipit-source-id: af29ea0f6f65957645fa2debce2f5303906a2507
Showing
Please register or sign in to comment