(folly) have Try::moveFromTry take an lvalue
authorHans Fugal <fugalh@fb.com>
Tue, 13 Oct 2015 21:20:21 +0000 (14:20 -0700)
committerfacebook-github-bot-1 <folly-bot@fb.com>
Tue, 13 Oct 2015 22:20:17 +0000 (15:20 -0700)
commit55f34d09f58adb31ff758883a6ce2c867f48584f
tree5cefe55a3cc6944d460c7aac106f0c364a5d2a87
parent1dee433c3440fe58e046de3b2e59dfd7f1a5cb35
(folly) have Try::moveFromTry take an lvalue

Summary: This is a case of having to say what you're doing twice, and it's unnecessary.
This change should not break anything as calling `std::move(lvalue)` where an
lvalue reference is expected will just be superfluous.

Reviewed By: @jsedgwick

Differential Revision: D2534944

fb-gh-sync-id: fdcd168f369d95b0f28abe23b401b4321f51fc36
folly/experimental/fibers/FiberManager-inl.h
folly/futures/Try-inl.h
folly/futures/Try.h