fix UB
This commit is contained in:
@@ -55,6 +55,7 @@ class CommonFunc
|
|||||||
public:
|
public:
|
||||||
static inline CommonFunc* m_recentFunc{};
|
static inline CommonFunc* m_recentFunc{};
|
||||||
virtual void exec() = 0;
|
virtual void exec() = 0;
|
||||||
|
virtual ~CommonFunc() = default;
|
||||||
};
|
};
|
||||||
|
|
||||||
class CommonFunc_tex : public CommonFunc
|
class CommonFunc_tex : public CommonFunc
|
||||||
|
|||||||
Reference in New Issue
Block a user