Fix 'missing declarations' and 'unusued parameter' warnings
authorOndrej Lehecka <lehecka@fb.com>
Fri, 31 Jul 2015 00:33:21 +0000 (17:33 -0700)
committerfacebook-github-bot-1 <folly-bot@fb.com>
Fri, 31 Jul 2015 01:22:04 +0000 (18:22 -0700)
commit17e68d9864612a9169b23ca2dc8b35070390cb7c
tree91fcfc1bf77511bb0fe0f8e1555b0d9a83283b9f
parentb74275bb6e90717575e138155c004b607f7b3364
Fix 'missing declarations' and 'unusued parameter' warnings

Summary: enum iterators operator!= didn't use the iterator parameter for comparison
because they assumed you only ever compare to end. Change the operator!= to
look at the iterator parameter to check if it was end.

Thrift generated code for reflection initializers for some types that weren't
declared before definition because they were never called outside of the file.
Marked those initializers as 'static'.

Reviewed By: @alandau

Differential Revision: D2284371
folly/IPAddressException.h