VERY experimental Nintendo Switch 2 emulator
C++
memory_hook: Default virtual destructor in the cpp file
Lioncashf9b42fa13910
diff --git a/src/core/CMakeLists.txt b/src/core/CMakeLists.txtindex 45dbd6796f..a41e22f4a5 100644--- a/src/core/CMakeLists.txt+++ b/src/core/CMakeLists.txt@@ -253,6 +253,7 @@ add_library(core STATICloader/nso.hmemory.cppmemory.h+ memory_hook.cppmemory_hook.hmemory_setup.hperf_stats.cppdiff --git a/src/core/memory_hook.cpp b/src/core/memory_hook.cppnew file mode 100644index 0000000000..c61c6c1fb1--- /dev/null+++ b/src/core/memory_hook.cpp@@ -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 Memorydiff --git a/src/core/memory_hook.h b/src/core/memory_hook.hindex feebd850ae..e8ea19333e 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<bool> IsValidAddress(VAddr addr) = 0;