From 297f161a02d79cef88f55906722534bee2da730b Mon Sep 17 00:00:00 2001 From: Ryan Harrison Date: Wed, 28 Jun 2017 15:57:51 -0400 Subject: Add << overload for CFX_StringCTemplate classes BUG=pdfium:790 Change-Id: I4a3623dc0daac6ff8407c09cd00e9f2e4e5dd2d7 Reviewed-on: https://pdfium-review.googlesource.com/7051 Commit-Queue: Ryan Harrison Reviewed-by: Tom Sepez --- core/fxcrt/cfx_bytestring.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'core/fxcrt/cfx_bytestring.cpp') 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()); +} -- cgit v1.2.3