summaryrefslogtreecommitdiff
path: root/core/fxcrt/cfx_utf8decoder.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'core/fxcrt/cfx_utf8decoder.cpp')
-rw-r--r--core/fxcrt/cfx_utf8decoder.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/core/fxcrt/cfx_utf8decoder.cpp b/core/fxcrt/cfx_utf8decoder.cpp
index 8adab5c602..68ea30ac23 100644
--- a/core/fxcrt/cfx_utf8decoder.cpp
+++ b/core/fxcrt/cfx_utf8decoder.cpp
@@ -6,10 +6,9 @@
#include "core/fxcrt/cfx_utf8decoder.h"
-void CFX_UTF8Decoder::Clear() {
- m_Buffer.Clear();
- m_PendingBytes = 0;
-}
+CFX_UTF8Decoder::CFX_UTF8Decoder() = default;
+
+CFX_UTF8Decoder::~CFX_UTF8Decoder() = default;
void CFX_UTF8Decoder::AppendCodePoint(uint32_t ch) {
m_Buffer.AppendChar(static_cast<wchar_t>(ch));