From 1e9f329e6daca02c0c8163bea6b3130c90b7bfc5 Mon Sep 17 00:00:00 2001 From: Turo Lamminen Date: Tue, 19 Dec 2017 18:18:14 +0200 Subject: [PATCH] MMD: Add virtual destructor to a class which already has virtual functions --- code/MMDPmxParser.h | 1 + 1 file changed, 1 insertion(+) diff --git a/code/MMDPmxParser.h b/code/MMDPmxParser.h index 989cffed6..a26eddb04 100644 --- a/code/MMDPmxParser.h +++ b/code/MMDPmxParser.h @@ -87,6 +87,7 @@ namespace pmx { public: virtual void Read(std::istream *stream, PmxSetting *setting) = 0; + virtual ~PmxVertexSkinning() {} }; class PmxVertexSkinningBDEF1 : public PmxVertexSkinning