(Wangle) Don't add an extra value() call for makeFuture(Try)
authorHannes Roth <hannesr@fb.com>
Mon, 26 Jan 2015 17:08:49 +0000 (09:08 -0800)
committerwoo <woo@fb.com>
Mon, 2 Feb 2015 21:12:39 +0000 (13:12 -0800)
commitd6c0e8e7294cb3a5c259153ab13d080c30bf8035
tree5ca114f98a3d0ffc6c4779944f565cae206253e9
parentebdc61b76ac0e37f44f334d863df872707b3487d
(Wangle) Don't add an extra value() call for makeFuture(Try)

Summary: Not sure why we'd need that? This avoids a move, I think.

Test Plan:
Run all the tests. Also unbreaks this code, which used to work at some
point.
https://phabricator.fb.com/diffusion/FBCODE/browse/master/taoThriftService/TaoServiceHandler.cpp;a27bc2ef36cd671d65ae0fd2cc1fb1f823e68ae4$246

Reviewed By: hans@fb.com

Subscribers: trunkagent, folly-diffs@, jsedgwick

FB internal diff: D1800619

Signature: t1:1800619:1422053903:f9e65a0be3d820a9a9989b3cf5dfaf2a61e2e900
folly/futures/Future-inl.h