Restore the definition of HHWheelTimer::UniquePtr
authorChad Parry <cparry@fb.com>
Thu, 12 Nov 2015 00:02:35 +0000 (16:02 -0800)
committerfacebook-github-bot-1 <folly-bot@fb.com>
Thu, 12 Nov 2015 00:20:20 +0000 (16:20 -0800)
commit65b8a0205fd9bbceb3e766962046651a6ddeb335
tree2a86993463f0bbb18a333992e980a209b045902c
parent2cf78a6af8777724e6f4329894fcc6e7a0249a60
Restore the definition of HHWheelTimer::UniquePtr

Summary: Changing the definition of `HHWheelTimer::UniquePtr` wasn't safe, because some clients were using that type outside of the `HHWheelTimer::newTimer` helper. I'm changing that part back. We'll still be able to proceed with my other codemod to `HHWheelTimer`, but we'll always have two different smart pointer types to manage: `UniquePtr` and `IntrusivePtr`.

Reviewed By: djwatson

Differential Revision: D2644721

fb-gh-sync-id: 14685be62355f09d39c4139ef7186d60b5f48dcd
folly/io/async/HHWheelTimer.h