diff options
| author | 2018-05-03 08:06:44 -0400 | |
|---|---|---|
| committer | 2018-05-03 08:12:16 -0400 | |
| commit | 732a77d0e83746021ae23b90eab1221ccc1f9bad (patch) | |
| tree | 8a89ef6bcee12b3893c10a4ffd24fe2ffbe0d6cc /src/core/memory_hook.cpp | |
| parent | Merge pull request #431 from lioncash/fmt (diff) | |
| download | yuzu-732a77d0e83746021ae23b90eab1221ccc1f9bad.tar.gz yuzu-732a77d0e83746021ae23b90eab1221ccc1f9bad.tar.xz yuzu-732a77d0e83746021ae23b90eab1221ccc1f9bad.zip | |
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
Diffstat (limited to 'src/core/memory_hook.cpp')
| -rw-r--r-- | src/core/memory_hook.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/core/memory_hook.cpp b/src/core/memory_hook.cpp new file mode 100644 index 000000000..c61c6c1fb --- /dev/null +++ b/src/core/memory_hook.cpp | |||
| @@ -0,0 +1,11 @@ | |||
| 1 | // Copyright 2018 Citra Emulator Project | ||
| 2 | // Licensed under GPLv2 or any later version | ||
| 3 | // Refer to the license.txt file included. | ||
| 4 | |||
| 5 | #include "core/memory_hook.h" | ||
| 6 | |||
| 7 | namespace Memory { | ||
| 8 | |||
| 9 | MemoryHook::~MemoryHook() = default; | ||
| 10 | |||
| 11 | } // namespace Memory | ||