mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-10-21 15:48:04 +00:00
engine_interface: Add missing virtual destructor
Eliminates a potential bug vector related to inheritance. Plus, we should generally be specifying the destructor as virtual within purely virtual interfaces to begin with.
This commit is contained in:
parent
313e070bc9
commit
84f77f4e8e
4 changed files with 5 additions and 4 deletions
|
@ -35,7 +35,7 @@ namespace Tegra::Engines {
|
|||
class Fermi2D final : public EngineInterface {
|
||||
public:
|
||||
explicit Fermi2D();
|
||||
~Fermi2D();
|
||||
~Fermi2D() override;
|
||||
|
||||
/// Binds a rasterizer to this engine.
|
||||
void BindRasterizer(VideoCore::RasterizerInterface* rasterizer);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue