OSDN Git Service

Reduce compilation warnings
authorTakashi Sawanaka <sdottaka@users.sourceforge.net>
Sat, 16 May 2020 07:52:57 +0000 (16:52 +0900)
committerTakashi Sawanaka <sdottaka@users.sourceforge.net>
Sat, 16 May 2020 07:52:57 +0000 (16:52 +0900)
Src/Common/ExConverter.cpp
Src/Common/ExConverter.h

index 2dec9d8..153a1d4 100644 (file)
@@ -44,7 +44,7 @@ public:
        {
        }
 
-       ~CExconverterMLang()
+       virtual ~CExconverterMLang() override
        {
                if (m_pmlang != nullptr)
                        m_pmlang->Release();
index b247cdd..7d5554e 100644 (file)
@@ -13,6 +13,7 @@ struct CodePageInfo
 
 struct IExconverter
 {
+       virtual ~IExconverter() {}
        virtual bool initialize() = 0;
        virtual bool convert(int srcCodepage, int dstCodepage, const unsigned char * src, size_t * srcbytes, unsigned char * dest, size_t * destbytes) = 0;
        virtual bool convertFromUnicode(int dstCodepage, const wchar_t * src, size_t * srcchars, char * dest, size_t *destbytes) = 0;