folly: fix enumeral vs non-enumeral type in conditional expression
authorHuapeng Zhou <hzhou@fb.com>
Wed, 24 Aug 2016 17:07:45 +0000 (10:07 -0700)
committerFacebook Github Bot 1 <facebook-github-bot-1-bot@fb.com>
Wed, 24 Aug 2016 17:08:49 +0000 (10:08 -0700)
commit9ae9af6f6e23b2ef84168cad5f552cf87700de5d
tree6eadb2d964da733ece966f7fe1b7953d858e343c
parent2f5fcde0698e2f6ad536201c158e0cf324033d62
folly: fix enumeral vs non-enumeral type in conditional expression

Summary:
Titled.
```
mcrouter/lib/carbon/CarbonProtocolReader.h:143:49:   required from here
folly/small_vector.h:441:38: error: enumeral and non-enumeral type in conditional expression [-Werror]
cc1plus: all warnings being treated as errors
```

Reviewed By: yfeldblum

Differential Revision: D3763073

fbshipit-source-id: da490e91cdb12dacf37d71c1796239bdc361a31b
folly/small_vector.h