summaryrefslogtreecommitdiff
path: root/core/include/fxcrt/fx_string.h
diff options
context:
space:
mode:
Diffstat (limited to 'core/include/fxcrt/fx_string.h')
-rw-r--r--core/include/fxcrt/fx_string.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/include/fxcrt/fx_string.h b/core/include/fxcrt/fx_string.h
index 4ce8b81937..f02cce994b 100644
--- a/core/include/fxcrt/fx_string.h
+++ b/core/include/fxcrt/fx_string.h
@@ -184,7 +184,7 @@ public:
// Move constructor.
inline CFX_ByteString(CFX_ByteString&& other) {
- this->m_pData = other.m_pData;
+ m_pData = other.m_pData;
other.m_pData = nullptr;
}
@@ -630,7 +630,7 @@ public:
// Move constructor.
inline CFX_WideString(CFX_WideString&& other) {
- this->m_pData = other.m_pData;
+ m_pData = other.m_pData;
other.m_pData = nullptr;
}