Disable a couple of warnings for MSVC in folly::Function
authorChristopher Dykes <cdykes@fb.com>
Fri, 27 May 2016 16:48:20 +0000 (09:48 -0700)
committerFacebook Github Bot 1 <facebook-github-bot-1-bot@fb.com>
Fri, 27 May 2016 16:55:33 +0000 (09:55 -0700)
commit555cbaae5ae322f0579d548d1b971101d07729da
treef033d11f3437f9bbfe0978126aab5430108ea78c
parent1fa49a2e4b15c727fdb0715545c44f3aa1108193
Disable a couple of warnings for MSVC in folly::Function

Summary:
MSVC generates warnings if you define multiple assignment operators or multiple copy constructors on the same type. This is deliberate in `folly::Function`, so just disable the warnings for the struct instead.
Note that the warnings have to be disabled for the entire struct for them to actually be disabled. Disabling them just around the declarations of the constructors and operators in question does not actually disable the warnings.

Reviewed By: yfeldblum

Differential Revision: D3347746

fbshipit-source-id: abb53a1e62bcfb7ce02759a7ce8637d824a82081
folly/Function.h