mirror of https://github.com/AxioDL/metaforce.git
CTransitionDatabase: Add virtual destructor
Prevents any undefined behavior from occurring through polymorphic usage.
This commit is contained in:
parent
8182688b34
commit
f0ff83e39a
|
@ -8,6 +8,7 @@ class IMetaTrans;
|
||||||
|
|
||||||
class CTransitionDatabase {
|
class CTransitionDatabase {
|
||||||
public:
|
public:
|
||||||
|
virtual ~CTransitionDatabase() = default;
|
||||||
virtual const std::shared_ptr<IMetaTrans>& GetMetaTrans(u32, u32) const = 0;
|
virtual const std::shared_ptr<IMetaTrans>& GetMetaTrans(u32, u32) const = 0;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue