Update internal_rev_object.hpp

This commit is contained in:
Saikari
2025-10-09 21:34:19 +03:00
committed by GitHub
parent 086eda4ee3
commit e385686323

View File

@@ -29,7 +29,7 @@ namespace omath::rev_eng
#ifdef _MSC_VER #ifdef _MSC_VER
using VirtualMethodType = ReturnType(__thiscall*)(void*, decltype(arg_list)...); using VirtualMethodType = ReturnType(__thiscall*)(void*, decltype(arg_list)...);
#else #else
using VirtualMethodType = ReturnType(__fastcall*)(void*, decltype(arg_list)...); using VirtualMethodType = ReturnType(*)(void*, decltype(arg_list)...);
#endif #endif
return (*reinterpret_cast<VirtualMethodType**>(this))[id](this, arg_list...); return (*reinterpret_cast<VirtualMethodType**>(this))[id](this, arg_list...);
} }