소스 검색

[cpp] RTTI should not inherit from SpineObject, closes #1870

Depending on the destruction order of static RTTI instances and SpineExtension instances, we'd call SpineExtension::beforeFree in ~RTTI, when SpineExtension has already been destructed.
Mario Zechner 4 년 전
부모
커밋
34b355eabd
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      spine-cpp/spine-cpp/include/spine/RTTI.h

+ 2 - 2
spine-cpp/spine-cpp/include/spine/RTTI.h

@@ -30,10 +30,10 @@
 #ifndef Spine_RTTI_h
 #define Spine_RTTI_h
 
-#include <spine/SpineObject.h>
+#include <spine/dll.h>
 
 namespace spine {
-	class SP_API RTTI : public SpineObject {
+	class SP_API RTTI {
 	public:
 		explicit RTTI(const char *className);