summaryrefslogtreecommitdiff
path: root/core/fxcrt/string_view_template.h
diff options
context:
space:
mode:
Diffstat (limited to 'core/fxcrt/string_view_template.h')
-rw-r--r--core/fxcrt/string_view_template.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/core/fxcrt/string_view_template.h b/core/fxcrt/string_view_template.h
index 05694cf244..1780e47b03 100644
--- a/core/fxcrt/string_view_template.h
+++ b/core/fxcrt/string_view_template.h
@@ -81,7 +81,10 @@ class StringViewTemplate {
return *this;
}
- StringViewTemplate& operator=(const StringViewTemplate& src) = default;
+ StringViewTemplate& operator=(const StringViewTemplate& src) {
+ m_Span = src.m_Span;
+ return *this;
+ }
const_iterator begin() const {
return reinterpret_cast<const_iterator>(m_Span.begin());