projects
/
folly.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
EventCountTest cleanups
[folly.git]
/
folly
/
Range.cpp
diff --git
a/folly/Range.cpp
b/folly/Range.cpp
index 6bc0982412e691a6f8b81d6662fe3d70d8f54ad9..97d28b138db58069cf003fa312363a7dbdd38d23 100644
(file)
--- a/
folly/Range.cpp
+++ b/
folly/Range.cpp
@@
-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,