Cleanup Future(Value) ctor
authorHans Fugal <fugalh@fb.com>
Wed, 22 Apr 2015 23:32:22 +0000 (16:32 -0700)
committerAlecs King <int@fb.com>
Mon, 27 Apr 2015 23:51:58 +0000 (16:51 -0700)
commit2aed11df4091a87c6c3141bca78a480e2759d2ae
tree6484519a2104ea789a47e59c99c7c97f0177b98f
parent03b14b9cb09c07e582c9671bbb0ba85a545522a6
Cleanup Future(Value) ctor

Summary:
We don't need to check for void after all, and with perfect forwarding we don't need separate const& and && versions.

Test Plan: tests still pass

Reviewed By: jsedgwick@fb.com

Subscribers: exa, folly-diffs@, jsedgwick, yfeldblum, chalfant

FB internal diff: D2014264

Tasks: 6847876

Signature: t1:2014264:1429735036:01ac166399ef8d0f2f34adb51e965809022c2b64
folly/futures/Future-inl.h
folly/futures/Future.h