Don't attempt to implicitly convert an atomic<T> to bool
authorChristopher Dykes <cdykes@fb.com>
Wed, 4 May 2016 17:26:43 +0000 (10:26 -0700)
committerFacebook Github Bot 0 <facebook-github-bot-0-bot@fb.com>
Wed, 4 May 2016 17:35:42 +0000 (10:35 -0700)
commit36f174f920a35c7de58906b216008f8b56bd7231
tree409f977f5e0c7b5cd5b0c65aace50e3ea6c3f4dd
parent6959fbe7b9ac7591a51c4b15f5cb6b3df8ca8016
Don't attempt to implicitly convert an atomic<T> to bool

Summary: MSVC doesn't like it, so the other uses were changed to .load() explicitly a while back, but this use has been added since then.

Reviewed By: yfeldblum

Differential Revision: D3255261

fb-gh-sync-id: 11d49902eb3ef7113a7c57cc760353554a487496
fbshipit-source-id: 11d49902eb3ef7113a7c57cc760353554a487496
folly/AtomicIntrusiveLinkedList.h