Remove dep on Format.h from GenerateFingerprintTables.cpp
[folly.git] / folly / IPAddressV4.h
index 93651577687d88d66164ca59ef44d6b90a6f83c6..76534add349fb99025f33f8d18d0865d0e37b038 100644 (file)
 #include <functional>
 #include <iosfwd>
 
-#include <folly/Hash.h>
+#include <folly/FBString.h>
 #include <folly/Range.h>
 #include <folly/detail/IPAddress.h>
+#include <folly/hash/Hash.h>
 
 namespace folly {
 
@@ -140,7 +141,7 @@ class IPAddressV4 {
    * @see IPAddress#bitCount
    * @returns 32
    */
-  static size_t bitCount() {
+  static constexpr size_t bitCount() {
     return 32;
   }