Singleton: remove dependency on Future
authorSteve O'Brien <steveo@fb.com>
Wed, 7 Oct 2015 20:11:06 +0000 (13:11 -0700)
committerfacebook-github-bot-9 <folly-bot@fb.com>
Wed, 7 Oct 2015 20:20:18 +0000 (13:20 -0700)
commitf54fbf88038aacc4bcc0f3bf98995375fddcde78
treea4992014be86ff9f4e806caaaea44841b63e981b
parentccbbdd366e114ebc4782555928aa84ed5c8987f6
Singleton: remove dependency on Future

Summary: Singletons requires Futures, and Futures indirectly (via HHWheelTimeKeeper) require Singletons.  This breaks the dependency.  It removes a Future-using API which will be replaced with a better alternative.

Reviewed By: @luciang

Differential Revision: D2517807

fb-gh-sync-id: 93df371a74d0f80dc8c55fb0eadd0b688b27b525
folly/Singleton.cpp
folly/Singleton.h
folly/test/SingletonTest.cpp