X-Git-Url: http://plrg.eecs.uci.edu/git/?a=blobdiff_plain;f=folly%2FIPAddressV4.h;h=76534add349fb99025f33f8d18d0865d0e37b038;hb=598926c4529b459ce535657ec76ac792f4ec010e;hp=93651577687d88d66164ca59ef44d6b90a6f83c6;hpb=0b856bd5556ab370e029ff8f2a490db7dd4f3940;p=folly.git diff --git a/folly/IPAddressV4.h b/folly/IPAddressV4.h index 93651577..76534add 100644 --- a/folly/IPAddressV4.h +++ b/folly/IPAddressV4.h @@ -22,9 +22,10 @@ #include #include -#include +#include #include #include +#include namespace folly { @@ -140,7 +141,7 @@ class IPAddressV4 { * @see IPAddress#bitCount * @returns 32 */ - static size_t bitCount() { + static constexpr size_t bitCount() { return 32; }