summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
Diffstat (limited to 'core')
-rw-r--r--core/fxcrt/cfx_bytestring.cpp4
-rw-r--r--core/fxcrt/cfx_bytestring.h2
2 files changed, 0 insertions, 6 deletions
diff --git a/core/fxcrt/cfx_bytestring.cpp b/core/fxcrt/cfx_bytestring.cpp
index b83c59ffeb..f0dc370cc9 100644
--- a/core/fxcrt/cfx_bytestring.cpp
+++ b/core/fxcrt/cfx_bytestring.cpp
@@ -189,10 +189,6 @@ CFX_ByteString::CFX_ByteString(
}
}
-CFX_ByteString::CFX_ByteString(std::ostringstream& outStream)
- : CFX_ByteString(outStream.str().c_str(),
- static_cast<int>(outStream.tellp())) {}
-
CFX_ByteString::~CFX_ByteString() {}
const CFX_ByteString& CFX_ByteString::operator=(const char* pStr) {
diff --git a/core/fxcrt/cfx_bytestring.h b/core/fxcrt/cfx_bytestring.h
index 23e02491c5..c4d48954ba 100644
--- a/core/fxcrt/cfx_bytestring.h
+++ b/core/fxcrt/cfx_bytestring.h
@@ -8,7 +8,6 @@
#define CORE_FXCRT_CFX_BYTESTRING_H_
#include <functional>
-#include <sstream>
#include <utility>
#include "core/fxcrt/cfx_retain_ptr.h"
@@ -46,7 +45,6 @@ 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<CFX_ByteStringC>& list);
- explicit CFX_ByteString(std::ostringstream& outStream);
~CFX_ByteString();