From e6c67cd64a80bd67c587ad3ffb380fe1b7574d1f Mon Sep 17 00:00:00 2001 From: Henrique Nakashima Date: Wed, 9 Aug 2017 14:10:02 -0400 Subject: Make CFX_ByteString(ostringstream) const. Change-Id: I782379cc7f93b93ed34a5d0a39ee2f198c650465 Reviewed-on: https://pdfium-review.googlesource.com/10430 Reviewed-by: Tom Sepez Commit-Queue: Henrique Nakashima --- core/fxcrt/cfx_bytestring.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/fxcrt/cfx_bytestring.h') diff --git a/core/fxcrt/cfx_bytestring.h b/core/fxcrt/cfx_bytestring.h index 3f96c2f2f6..cf688b4c88 100644 --- a/core/fxcrt/cfx_bytestring.h +++ b/core/fxcrt/cfx_bytestring.h @@ -46,7 +46,7 @@ class CFX_ByteString { explicit CFX_ByteString(const CFX_ByteStringC& bstrc); CFX_ByteString(const CFX_ByteStringC& bstrc1, const CFX_ByteStringC& bstrc2); CFX_ByteString(const std::initializer_list& list); - explicit CFX_ByteString(std::ostringstream& outStream); + explicit CFX_ByteString(const std::ostringstream& outStream); ~CFX_ByteString(); -- cgit v1.2.3