Shift Future::then and Future::thenMulti into the class definition
authorChristopher Dykes <cdykes@fb.com>
Wed, 28 Jun 2017 00:29:12 +0000 (17:29 -0700)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Wed, 28 Jun 2017 00:35:19 +0000 (17:35 -0700)
commitb0ec99828f0c782a38947513c5e0c242984e269e
treeb20bd955714ea787dae63c5fb4b3b01c0c65ae88
parent258585eff14817914814310573cde2166fcc068f
Shift Future::then and Future::thenMulti into the class definition

Summary:
GCC 7 has issues with `this->` in trailing return type declarations. This takes the approach of eliminating the trailing return types entirely.

Closes https://github.com/facebook/folly/pull/621

Reviewed By: yfeldblum

Differential Revision: D5324763

fbshipit-source-id: e38ae76c13ff60bc227146c1ec25afbac8b6982f
folly/futures/Future-inl.h
folly/futures/Future.h