Add FX_OVERRIDE and use it for virtual functions of FX_FINAL classes.
[pdfium.git] / fpdfsdk / src / fpdfsave.cpp
index 8025946..45dfbf7 100644 (file)
@@ -19,8 +19,8 @@ class CFX_IFileWrite FX_FINAL : public IFX_StreamWrite
 public:
        CFX_IFileWrite();
        FX_BOOL                         Init( FPDF_FILEWRITE * pFileWriteStruct );
-       virtual FX_BOOL         WriteBlock(const void* pData, size_t size);
-       virtual void            Release(){};
+       virtual FX_BOOL         WriteBlock(const void* pData, size_t size) FX_OVERRIDE;
+       virtual void            Release() FX_OVERRIDE {}
        
 protected:
        FPDF_FILEWRITE*         m_pFileWriteStruct;