summaryrefslogtreecommitdiff
path: root/core/fxcrt/cfx_bytestring.cpp
diff options
context:
space:
mode:
authorRyan Harrison <rharrison@chromium.org>2017-06-28 15:57:51 -0400
committerChromium commit bot <commit-bot@chromium.org>2017-06-28 20:12:34 +0000
commit297f161a02d79cef88f55906722534bee2da730b (patch)
tree41299229003dceb2d06b6acbb84fc68770604788 /core/fxcrt/cfx_bytestring.cpp
parent9ba8fbc02e86a6b7cb5c4142d9481ae3238c1ec4 (diff)
downloadpdfium-297f161a02d79cef88f55906722534bee2da730b.tar.xz
Add << overload for CFX_StringCTemplate classeschromium/3144
BUG=pdfium:790 Change-Id: I4a3623dc0daac6ff8407c09cd00e9f2e4e5dd2d7 Reviewed-on: https://pdfium-review.googlesource.com/7051 Commit-Queue: Ryan Harrison <rharrison@chromium.org> Reviewed-by: Tom Sepez <tsepez@chromium.org>
Diffstat (limited to 'core/fxcrt/cfx_bytestring.cpp')
-rw-r--r--core/fxcrt/cfx_bytestring.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/core/fxcrt/cfx_bytestring.cpp b/core/fxcrt/cfx_bytestring.cpp
index 967bcce0eb..9d67ed30a1 100644
--- a/core/fxcrt/cfx_bytestring.cpp
+++ b/core/fxcrt/cfx_bytestring.cpp
@@ -877,3 +877,7 @@ CFX_ByteString CFX_ByteString::FormatFloat(float d, int precision) {
std::ostream& operator<<(std::ostream& os, const CFX_ByteString& str) {
return os.write(str.c_str(), str.GetLength());
}
+
+std::ostream& operator<<(std::ostream& os, const CFX_ByteStringC& str) {
+ return os.write(str.c_str(), str.GetLength());
+}