Shrink the implementations of then and onError
authorYedidya Feldblum <yfeldblum@fb.com>
Wed, 7 Jun 2017 09:33:31 +0000 (02:33 -0700)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Wed, 7 Jun 2017 09:35:03 +0000 (02:35 -0700)
commit7dc11fbd0971fb22ad7917db145815afbe790070
tree124267521a36fe3c2dc716cd3f0db75874d5fc48
parent717713f2c8cc1c75cc883189139cd23be61f5525
Shrink the implementations of then and onError

Summary:
[Folly] Shrink the implementations of `then` and `onError`.

Just a small refactor.

Reviewed By: spacedentist

Differential Revision: D5180784

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