mirror of
https://github.com/orange-cpp/omath.git
synced 2026-02-13 07:03:25 +00:00
patch
This commit is contained in:
@@ -43,7 +43,7 @@ namespace omath::rev_eng
|
||||
using VirtualMethodType = ReturnType (*)(void*, decltype(arg_list)...);
|
||||
#endif
|
||||
return (*reinterpret_cast<VirtualMethodType**>(const_cast<This*>(this)))[id](
|
||||
this, std::forward<Args>(arg_list)...);
|
||||
const_cast<void*>(static_cast<const void*>(this)), std::forward<Args>(arg_list)...);
|
||||
}
|
||||
};
|
||||
} // namespace omath::rev_eng
|
||||
|
||||
Reference in New Issue
Block a user