Browse Source

Fix non virtual destructor use

Engin Manap 3 years ago
parent
commit
c3a89fd2d0
1 changed files with 4 additions and 0 deletions
  1. 4 0
      code/AssetLib/MMD/MMDPmxParser.h

+ 4 - 0
code/AssetLib/MMD/MMDPmxParser.h

@@ -357,6 +357,10 @@ namespace pmx
 	{
 	{
 	public:
 	public:
 		void virtual Read(std::istream *stream, PmxSetting *setting) = 0;
 		void virtual Read(std::istream *stream, PmxSetting *setting) = 0;
+
+        virtual ~PmxMorphOffset() {
+
+        }
 	};
 	};
 
 
 	class PmxMorphVertexOffset : public PmxMorphOffset
 	class PmxMorphVertexOffset : public PmxMorphOffset