fix collect() for move-only types
authorJames Sedgwick <jsedgwick@fb.com>
Tue, 21 Apr 2015 23:52:09 +0000 (16:52 -0700)
committerAlecs King <int@fb.com>
Mon, 27 Apr 2015 23:49:02 +0000 (16:49 -0700)
commit5904c0ae09ef871328812d6eaed859b1b88796ef
tree0da32205abc405b4b12fd13b2312264a1f839bfa
parentcd338595aadfd2fa7b545a7507ecdb59b81e88ab
fix collect() for move-only types

Summary:
as above. it never ends.

Test Plan: added unit

Reviewed By: hans@fb.com

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

FB internal diff: D2011569

Signature: t1:2011569:1429660210:930cb17682d5c86a11881a23efe0a91f4c6a36b1
folly/futures/Future-inl.h
folly/futures/test/FutureTest.cpp