Adds `make_mock` to `folly::LeakySingleton`.
authorJiahao Li <jiahaoli@fb.com>
Fri, 7 Jul 2017 19:22:51 +0000 (12:22 -0700)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Fri, 7 Jul 2017 19:35:22 +0000 (12:35 -0700)
commit7f15a179e20b0d61bfb5e872956993b0c6afaa30
tree3c6fc5350e761df50d23b3dd611df9ca716675eb
parentf0dfe0f699c68867eccde9dda9fe1617ef31303e
Adds `make_mock` to `folly::LeakySingleton`.

Summary:
Provides a `make_mock` interface to `folly::LeakySingleton` for unit test
mocking.

Reviewed By: andriigrynenko

Differential Revision: D5382003

fbshipit-source-id: 9ab81dd64703f4f02772bfb8c85e020680abcc85
folly/Singleton.h