Index: core/fpdfapi/parser/cpdf_string.h |
diff --git a/core/fpdfapi/parser/cpdf_string.h b/core/fpdfapi/parser/cpdf_string.h |
index d99e00c40386ba97fcc47b08933ebcd351a8f581..03284d9c5b19f43bc6f15f43ca994a5297ea1ab4 100644 |
--- a/core/fpdfapi/parser/cpdf_string.h |
+++ b/core/fpdfapi/parser/cpdf_string.h |
@@ -16,6 +16,7 @@ class CPDF_String : public CPDF_Object { |
CPDF_String(); |
CPDF_String(const CFX_ByteString& str, FX_BOOL bHex); |
explicit CPDF_String(const CFX_WideString& str); |
+ ~CPDF_String() override; |
// CPDF_Object. |
Type GetType() const override; |
@@ -30,8 +31,6 @@ class CPDF_String : public CPDF_Object { |
FX_BOOL IsHex() const { return m_bHex; } |
protected: |
- ~CPDF_String() override; |
- |
CFX_ByteString m_String; |
FX_BOOL m_bHex; |
}; |