qfind_first_byte_of may suffer from global initialization order
[folly.git] / folly / test / RangeTest.cpp
index cb8aec8a1cf46d3671109318132156b5929d6fce..6b29725224a4f4b1330e666b0e6218d43409885b 100644 (file)
@@ -14,7 +14,6 @@
  * limitations under the License.
  */
 
-//
 // @author Kristina Holst (kholst@fb.com)
 // @author Andrei Alexandrescu (andrei.alexandrescu@fb.com)
 
@@ -25,6 +24,7 @@
 #include "folly/Range.h"
 
 namespace folly { namespace detail {
+
 // declaration of functions in Range.cpp
 size_t qfind_first_byte_of_memchr(const StringPiece& haystack,
                                   const StringPiece& needles);
@@ -32,9 +32,7 @@ size_t qfind_first_byte_of_memchr(const StringPiece& haystack,
 size_t qfind_first_byte_of_byteset(const StringPiece& haystack,
                                    const StringPiece& needles);
 
-size_t qfind_first_byte_of_nosse(const StringPiece& haystack,
-                                 const StringPiece& needles);
-}}
+}}  // namespaces
 
 using namespace folly;
 using namespace std;