Codemod: use #include angle brackets in folly and thrift
[folly.git] / folly / detail / IPAddress.h
index 7f1095e05a93e4d38808932e0b698368bc3ec787..ef8b85a6751709445bad88f7c1bf350ef957038f 100644 (file)
@@ -34,8 +34,8 @@ extern "C" {
 #include <sys/types.h>
 }
 
-#include "folly/Conv.h"
-#include "folly/Format.h"
+#include <folly/Conv.h>
+#include <folly/Format.h>
 
 namespace folly { namespace detail {
 
@@ -121,7 +121,7 @@ struct Bytes : private boost::noncopyable {
     // Compare a byte at a time. Note - I measured compared this with
     // going multiple bytes at a time (8, 4, 2 and 1). It turns out
     // to be 20 - 25% slower for 4 and 16 byte arrays.
-    while (byteIndex * 8 <= mask && one[byteIndex] == two[byteIndex]) {
+    while (byteIndex * 8 < mask && one[byteIndex] == two[byteIndex]) {
       ba[byteIndex] = one[byteIndex];
       ++byteIndex;
     }