summaryrefslogtreecommitdiff
path: root/src/core/memory_hook.h
diff options
context:
space:
mode:
authorGravatar Lioncash2018-05-03 08:06:44 -0400
committerGravatar Lioncash2018-05-03 08:12:16 -0400
commit732a77d0e83746021ae23b90eab1221ccc1f9bad (patch)
tree8a89ef6bcee12b3893c10a4ffd24fe2ffbe0d6cc /src/core/memory_hook.h
parentMerge pull request #431 from lioncash/fmt (diff)
downloadyuzu-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.h')
-rw-r--r--src/core/memory_hook.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/memory_hook.h b/src/core/memory_hook.h
index feebd850a..e8ea19333 100644
--- a/src/core/memory_hook.h
+++ b/src/core/memory_hook.h
@@ -23,7 +23,7 @@ namespace Memory {
23 */ 23 */
24class MemoryHook { 24class MemoryHook {
25public: 25public:
26 virtual ~MemoryHook() = default; 26 virtual ~MemoryHook();
27 27
28 virtual boost::optional<bool> IsValidAddress(VAddr addr) = 0; 28 virtual boost::optional<bool> IsValidAddress(VAddr addr) = 0;
29 29