summaryrefslogtreecommitdiff
path: root/core/fpdfapi/parser/cpdf_string.h
diff options
context:
space:
mode:
Diffstat (limited to 'core/fpdfapi/parser/cpdf_string.h')
-rw-r--r--core/fpdfapi/parser/cpdf_string.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/fpdfapi/parser/cpdf_string.h b/core/fpdfapi/parser/cpdf_string.h
index 49834c03f2..efc6d076c7 100644
--- a/core/fpdfapi/parser/cpdf_string.h
+++ b/core/fpdfapi/parser/cpdf_string.h
@@ -16,7 +16,6 @@ class CPDF_String : public CPDF_Object {
CPDF_String();
CPDF_String(const CFX_ByteString& str, bool bHex);
explicit CPDF_String(const CFX_WideString& str);
- ~CPDF_String() override;
// CPDF_Object.
Type GetType() const override;
@@ -31,6 +30,8 @@ class CPDF_String : public CPDF_Object {
bool IsHex() const { return m_bHex; }
protected:
+ ~CPDF_String() override;
+
CFX_ByteString m_String;
bool m_bHex;
};