(Wangle) whenAll should take rvalue references instead of references
authorHannes Roth <hannesr@fb.com>
Mon, 3 Mar 2014 22:45:10 +0000 (14:45 -0800)
committerDave Watson <davejwatson@fb.com>
Mon, 10 Mar 2014 20:50:25 +0000 (13:50 -0700)
commit60c0047af915dee869b5c44b0cd8a1a964dc3e09
tree242452a046f3231c608c32cbc45ef62eafb63ae0
parenta640baa1b296bc03a7c2e44509e7eca92395ef6c
(Wangle) whenAll should take rvalue references instead of references

Summary: Don't need to keep the old futures around.

Test Plan: `FutureTest.cpp`

Reviewed By: hans@fb.com

FB internal diff: D1197360
folly/wangle/Future-inl.h
folly/wangle/Future.h
folly/wangle/detail.h
folly/wangle/test/FutureTest.cpp