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
1147db9dd1
commit
732a77d0e8
3 changed files with 13 additions and 1 deletions
11
src/core/memory_hook.cpp
Normal file
11
src/core/memory_hook.cpp
Normal file
|
@ -0,0 +1,11 @@
|
|||
// Copyright 2018 Citra Emulator Project
|
||||
// Licensed under GPLv2 or any later version
|
||||
// Refer to the license.txt file included.
|
||||
|
||||
#include "core/memory_hook.h"
|
||||
|
||||
namespace Memory {
|
||||
|
||||
MemoryHook::~MemoryHook() = default;
|
||||
|
||||
} // namespace Memory
|
Loading…
Add table
Add a link
Reference in a new issue