DRY some methods in IPAddress
authorYedidya Feldblum <yfeldblum@fb.com>
Tue, 1 Aug 2017 02:42:53 +0000 (19:42 -0700)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Tue, 1 Aug 2017 02:52:04 +0000 (19:52 -0700)
commit6a3a9eb07621fdcff786dc3643d134063d0afa1f
tree6f93f97ce5bed94d5a3771dca601ae67c0094834
parent53b24a320c88077fe80ff1359e74d59ccbd8d8a9
DRY some methods in IPAddress

Summary:
[Folly] DRY some methods in `IPAddress`.

Specifically, the ones which just delegate to either `asV4()` or to `asV6()`.

Reviewed By: mzlee

Differential Revision: D5529797

fbshipit-source-id: 4dd3dc893ab19281325700b85400c1c1aadfd77f
folly/IPAddress.h