Remove r-value qualification of folly::Try in makeSemiFuture and makeFuture.
Summary: The && overload here caused me to call the wrong function and delay an error as it changed the type of the Future completely. There seems to be little benefit to making this r-value qualified, and is likely a side effect of consistency with the forwarding reference in the non-Try overload. Reviewed By: yfeldblum Differential Revision: D9979805 fbshipit-source-id: e8121d5bc2e5fe02d38d6ea9cb83adbe98010df2
Showing
Please register or sign in to comment