summaryrefslogtreecommitdiff
path: root/core/fxcrt/cfx_widetextbuf.h
diff options
context:
space:
mode:
Diffstat (limited to 'core/fxcrt/cfx_widetextbuf.h')
-rw-r--r--core/fxcrt/cfx_widetextbuf.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/fxcrt/cfx_widetextbuf.h b/core/fxcrt/cfx_widetextbuf.h
index 0c9b6ff99d..389f2e52a3 100644
--- a/core/fxcrt/cfx_widetextbuf.h
+++ b/core/fxcrt/cfx_widetextbuf.h
@@ -14,7 +14,7 @@
class CFX_WideTextBuf : public CFX_BinaryBuf {
public:
void AppendChar(wchar_t wch);
- FX_STRSIZE GetLength() const { return m_DataSize / sizeof(wchar_t); }
+ FX_STRSIZE GetLength() const override;
wchar_t* GetBuffer() const {
return reinterpret_cast<wchar_t*>(m_pBuffer.get());
}