Fix Build: folly/test/IndestructibleTest.cpp under LSAN
authorYedidya Feldblum <yfeldblum@fb.com>
Wed, 24 Feb 2016 00:35:17 +0000 (16:35 -0800)
committerfacebook-github-bot-1 <folly-bot@fb.com>
Wed, 24 Feb 2016 01:20:25 +0000 (17:20 -0800)
commit2739d9370ef5d0f3cc51f8c45e289caf83613009
treeb56ee8cf2da44a8de2d89adf510a7f0a3ee119fe
parent9c3e3be04ca23b73e4a9eecce8019e65f76cdf5d
Fix Build: folly/test/IndestructibleTest.cpp under LSAN

Summary:[Folly] Fix Build: `folly/test/IndestructibleTest.cpp` under LSAN.

Leaks of Meyers singletons are ignored automatically, while normal locals are not. So we make our instances be Meyers singletons.

Differential Revision: D2968368

fb-gh-sync-id: 385ac4491d9a105885af82d85354af929d69cc80
shipit-source-id: 385ac4491d9a105885af82d85354af929d69cc80
folly/test/IndestructibleTest.cpp