Add deprecation comments to folly::makeFuture.
authorLee Howes <lwh@fb.com>
Wed, 27 Dec 2017 04:31:33 +0000 (20:31 -0800)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Wed, 27 Dec 2017 04:51:03 +0000 (20:51 -0800)
commit7acba7e1a0a75d22087647b3e9e830c9b0e8d41e
tree64e79e955be762013948c6df2628576e37517912
parenta5b5328336d1d59c52bb505ed14820cdb7e14fbf
Add deprecation comments to folly::makeFuture.

Summary:
To ensure that we do not end up with continuable futures without attached executors we should deprecate folly::makeFuture. In most cases folly::makeSemiFuture is adequate here.

This diff only adds comments to dissuade future use.

Reviewed By: yfeldblum

Differential Revision: D6628800

fbshipit-source-id: c2b91df351cc5980c1bfb752f7536d320ef8168a
folly/futures/helpers.h