merge to XFA: Fix -Wnon-virtual-dtor compiler warnings.
[pdfium.git] / core / src / fxcrt / fx_arabic.h
index e44bfb8..f55f7c6 100644 (file)
@@ -195,7 +195,9 @@ public:
     virtual FX_BOOL            EndChar() FX_OVERRIDE;
     virtual FX_INT32   GetBidiInfo(FX_INT32 &iStart, FX_INT32 &iCount) FX_OVERRIDE;
     virtual void               Reset() FX_OVERRIDE;
-protected:
+
+private:
+    ~CFX_BidiChar() { }
     FX_BOOL            m_bSeparateNeutral;
     FX_INT32   m_iCurStart;
     FX_INT32   m_iCurCount;