mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-10-13 23:27:46 +00:00
memory_hook: Default virtual destructor in the cpp file
Prevents creating multiple copies of the vtable in every translation unit that uses the class. Also silences a -Wweak-vtables warning
This commit is contained in:
parent
618cce3172
commit
f9b42fa139
3 changed files with 13 additions and 1 deletions
|
@ -23,7 +23,7 @@ namespace Memory {
|
|||
*/
|
||||
class MemoryHook {
|
||||
public:
|
||||
virtual ~MemoryHook() = default;
|
||||
virtual ~MemoryHook();
|
||||
|
||||
virtual boost::optional<bool> IsValidAddress(VAddr addr) = 0;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue