Don't name a member small
authorChristopher Dykes <cdykes@fb.com>
Thu, 4 Aug 2016 00:22:57 +0000 (17:22 -0700)
committerFacebook Github Bot 8 <facebook-github-bot-8-bot@fb.com>
Thu, 4 Aug 2016 00:38:25 +0000 (17:38 -0700)
commitcf1c637daf3a0792df470277ab8f833fc7658cbb
tree1e2f61778b016cfd2050e312e4581bd754ccb52d
parenta0f8eed7f6e9a75451d0b7e7436e998ffeaea112
Don't name a member small

Summary:
Because, if you aren't compiling with `WIN32_LEAN_AND_MEAN`, including `WinSock2.h` will result in `small` being `#define`'d as `char`. The best way to work around the issue is to simply change the name of the member to something else.
It would also have been possible to solve the problem by adding a section to `folly/portability/Windows.h`, but that would have required including that header in `folly/Function.h`, which there really is no reason to do.

Reviewed By: yfeldblum

Differential Revision: D3666417

fbshipit-source-id: 21c0363a4b77bb01e4ec20b2fc625c40729879c3
folly/Function.h