Commit 13f2e056 authored by Yedidya Feldblum's avatar Yedidya Feldblum Committed by Facebook Github Bot

Cut unnecessary parens in IPAddress.h

Summary: [Folly] Cut unnecessary parens in `IPAddress.h`.

Reviewed By: meyering

Differential Revision: D5589756

fbshipit-source-id: 6499e0db2aeb232356e2808fc59a35869b5dad0a
parent 9432d632
......@@ -266,7 +266,7 @@ class IPAddress {
// @return true if address is uninitialized
bool empty() const {
return (family_ == AF_UNSPEC);
return family_ == AF_UNSPEC;
}
// @return true if address is initialized
......@@ -276,12 +276,12 @@ class IPAddress {
// @return true if this is an IPAddressV4 instance
bool isV4() const {
return (family_ == AF_INET);
return family_ == AF_INET;
}
// @return true if this is an IPAddressV6 instance
bool isV6() const {
return (family_ == AF_INET6);
return family_ == AF_INET6;
}
// @return true if this address is all zeros
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment