mirror of
https://git.suyu.dev/suyu/dynarmic.git
synced 2026-01-01 20:24:36 +01:00
backend_x64/callback: Default virtual destructor in the cpp file
Prevents the vtable being generated in each translation unit that includes the header (and silences -Wweak-vtables warnings)
This commit is contained in:
parent
edd0b5c8c7
commit
4efbd40ea4
2 changed files with 3 additions and 5 deletions
|
|
@ -9,6 +9,8 @@
|
|||
|
||||
namespace Dynarmic::BackendX64 {
|
||||
|
||||
Callback::~Callback() = default;
|
||||
|
||||
void SimpleCallback::EmitCall(BlockOfCode& code, std::function<void(RegList)> l) const {
|
||||
l({code.ABI_PARAM1, code.ABI_PARAM2, code.ABI_PARAM3, code.ABI_PARAM4});
|
||||
code.CallFunction(fn);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue