Index: core/fxcrt/fx_basic_bstring.cpp |
diff --git a/core/fxcrt/fx_basic_bstring.cpp b/core/fxcrt/fx_basic_bstring.cpp |
index 23fdcaa25ea02266385a1640b9c8adf78c4c0a51..bfa0cbd98cea2c928f382ecb3ce06e5ae324d8ba 100644 |
--- a/core/fxcrt/fx_basic_bstring.cpp |
+++ b/core/fxcrt/fx_basic_bstring.cpp |
@@ -921,7 +921,7 @@ void CFX_ByteString::TrimLeft() { |
} |
uint32_t CFX_ByteString::GetID(FX_STRSIZE start_pos) const { |
- return CFX_ByteStringC(*this).GetID(start_pos); |
+ return AsStringC().GetID(start_pos); |
} |
uint32_t CFX_ByteStringC::GetID(FX_STRSIZE start_pos) const { |
if (m_Length == 0) { |