Remove Executor::addPtr
authorYedidya Feldblum <yfeldblum@fb.com>
Fri, 6 Oct 2017 18:45:18 +0000 (11:45 -0700)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Fri, 6 Oct 2017 18:59:08 +0000 (11:59 -0700)
commit6a1cf45e75937ac4ab2b714556cc62fb8d788811
tree3925c81087de113fe0afcddbac26bc09741290cc
parent76ca37981aa7f1f801fafa581b3d8bba1baededa
Remove Executor::addPtr

Summary:
[Folly] Remove `Executor::addPtr`.

It was there to support passing non-copyable callable objects wrapped as `std::shared_ptr`. It is no longer useful since we have `Function`, which is a non-copyable version of `std::function` which can support capturing non-copyable objects, and it is generally unused.

Reviewed By: spacedentist

Differential Revision: D5983801

fbshipit-source-id: b49a86f8dd7e5250a097b0e714a1bdf9ac362916
folly/Executor.h
folly/futures/test/ExecutorTest.cpp