summaryrefslogtreecommitdiff
path: root/core/fxcrt/string_data_template.h
diff options
context:
space:
mode:
Diffstat (limited to 'core/fxcrt/string_data_template.h')
-rw-r--r--core/fxcrt/string_data_template.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/core/fxcrt/string_data_template.h b/core/fxcrt/string_data_template.h
index bc797c07e2..f65d37c3ef 100644
--- a/core/fxcrt/string_data_template.h
+++ b/core/fxcrt/string_data_template.h
@@ -41,12 +41,6 @@ class StringDataTemplate {
return new (pData) StringDataTemplate(nLen, usableLen);
}
- static StringDataTemplate* Create(const StringDataTemplate& other) {
- StringDataTemplate* result = Create(other.m_nDataLength);
- result->CopyContents(other);
- return result;
- }
-
static StringDataTemplate* Create(const CharType* pStr, size_t nLen) {
StringDataTemplate* result = Create(nLen);
result->CopyContents(pStr, nLen);