EventCountTest cleanups
[folly.git] / folly / Range.cpp
index 6bc0982412e691a6f8b81d6662fe3d70d8f54ad9..97d28b138db58069cf003fa312363a7dbdd38d23 100644 (file)
@@ -37,6 +37,11 @@ std::ostream& operator<<(std::ostream& os, const StringPiece& piece) {
   return os;
 }
 
+std::ostream& operator<<(std::ostream& os, const MutableStringPiece& piece) {
+  os.write(piece.start(), piece.size());
+  return os;
+}
+
 namespace detail {
 
 size_t qfind_first_byte_of_memchr(const StringPiece& haystack,