Let MacAddress use a helper hex-table
authorYedidya Feldblum <yfeldblum@fb.com>
Sun, 30 Jul 2017 21:28:44 +0000 (14:28 -0700)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Sun, 30 Jul 2017 21:41:58 +0000 (14:41 -0700)
commita961f2cd4c5f392e236efed49cc5a98a55d8334b
treeb95be3d66b3231a2789a13c9d5c0baf446df2e89
parent83b9f93f4f5b536792b36de0e6d601e2a3b894bc
Let MacAddress use a helper hex-table

Summary:
[Folly] Let `MacAddress` use a helper hex-table.

The table is in the `folly::detail` namespace so it is non-public to users of folly, but the rules may not be quite as strict in at least some cases within folly.

Also the helper `unhex` function that this replaces is not `clang-format`-clean, so this lets us sidestep that.

Reviewed By: Orvid

Differential Revision: D5524229

fbshipit-source-id: 21d6938e20cd675e65499a5b64d2af934f980222
folly/MacAddress.cpp