Work around a bug in MSVC name lookup within templated friend contexts
authorChristopher Dykes <cdykes@fb.com>
Mon, 20 Nov 2017 21:44:02 +0000 (13:44 -0800)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Mon, 20 Nov 2017 22:05:37 +0000 (14:05 -0800)
commitf5edd7dcaf8308a946d3843940e2f7a5f40ca44f
tree9f69a846cb36cf18eaa96a4087533a2cb839c30b
parent3c9a6e9a15092db11c543c8bae51957b176fcedd
Work around a bug in MSVC name lookup within templated friend contexts

Summary: MSVC has a bug that causes it to think that `once_flag` in this context resolves to the `using` statement further up, rather than `detail::once_flag`.

Reviewed By: yfeldblum

Differential Revision: D6376501

fbshipit-source-id: 481dbd75ed21f3d519bd920258fa743f314668ad
folly/synchronization/CallOnce.h