From 732a77d0e83746021ae23b90eab1221ccc1f9bad Mon Sep 17 00:00:00 2001 From: Lioncash Date: Thu, 3 May 2018 08:06:44 -0400 Subject: 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 --- src/core/memory_hook.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/core/memory_hook.h') 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 { */ class MemoryHook { public: - virtual ~MemoryHook() = default; + virtual ~MemoryHook(); virtual boost::optional IsValidAddress(VAddr addr) = 0; -- cgit v1.2.3