21 Nov
2023
21 Nov
'23
1:06 p.m.
Piotr Caban (@piotr) commented about dlls/msvcp90/exception.c:
+ +DEFINE_THISCALL_WRAPPER(bad_function_call_copy_ctor, 8) +bad_function_call* __thiscall bad_function_call_copy_ctor(bad_function_call *this, const bad_function_call *rhs) +{ + TRACE("%p %p\n", this, rhs); + exception_copy_ctor(this, rhs); + this->vtable = &bad_function_call_vtable; + return this; +} + +DEFINE_THISCALL_WRAPPER(MSVCP_bad_function_call_dtor, 4) +void __thiscall MSVCP_bad_function_call_dtor(bad_function_call *this) +{ + TRACE("%p\n", this); + MSVCP_exception_dtor(this); +} This function in not needed, you can call MSVCP_exception_dtor directly.
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/4446#note_53063