diff options
| author | Lioncash <mathew1800@gmail.com> | 2021-04-12 09:49:04 -0400 |
|---|---|---|
| committer | Lioncash <mathew1800@gmail.com> | 2021-04-12 09:53:55 -0400 |
| commit | 31932904c5f43f46e3dda21e948970418e509dbf (patch) | |
| tree | 6212ea28ad174d3fee214e35c556a5c63d820b9f /src/video_core/engines/kepler_memory.h | |
| parent | 26d60014d04a2d2134076435d213c9585e802038 (diff) | |
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.
Diffstat (limited to 'src/video_core/engines/kepler_memory.h')
| -rw-r--r-- | src/video_core/engines/kepler_memory.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/engines/kepler_memory.h b/src/video_core/engines/kepler_memory.h index 19808a5c6..0d8ea09a9 100644 --- a/src/video_core/engines/kepler_memory.h +++ b/src/video_core/engines/kepler_memory.h @@ -36,7 +36,7 @@ namespace Tegra::Engines { class KeplerMemory final : public EngineInterface { public: explicit KeplerMemory(Core::System& system_, MemoryManager& memory_manager); - ~KeplerMemory(); + ~KeplerMemory() override; /// Write the value to the register identified by method. void CallMethod(u32 method, u32 method_argument, bool is_last_call) override; |
