Pass Try by rvalue ref in onError implementation
authorYedidya Feldblum <yfeldblum@fb.com>
Wed, 7 Jun 2017 21:39:54 +0000 (14:39 -0700)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Wed, 7 Jun 2017 21:50:33 +0000 (14:50 -0700)
commit4aa6bf94e48f7fea2212b9b3a4f55784173dd17b
treeb323963cf61d00945e2033e5e5e111e4ced2de27
parent3d6d493361c51bb9c0900705ec1e9b2a2917ce76
Pass Try by rvalue ref in onError implementation

Summary:
[Folly] Pass `Try` by rvalue ref in `onError` implementation.

As is done in other overloads and in `thenImplementation`. For consistency.

Reviewed By: spacedentist

Differential Revision: D5199302

fbshipit-source-id: c78db0c36fc7a0b846ca5e44fc237422c9203a24
folly/futures/Future-inl.h