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:
Lioncash 2018-05-03 08:06:44 -04:00
parent 1147db9dd1
commit 732a77d0e8
No known key found for this signature in database
GPG key ID: 4E3C3CC1031BA9C7
3 changed files with 13 additions and 1 deletions

View file

@ -253,6 +253,7 @@ add_library(core STATIC
loader/nso.h
memory.cpp
memory.h
memory_hook.cpp
memory_hook.h
memory_setup.h
perf_stats.cpp