mirror of
https://github.com/holub/mame
synced 2025-10-04 16:34:53 +03:00
(nw) fixed compile error on gcc 5.3 . Apologies in advance if it breaks other compilers/versions.
This commit is contained in:
parent
c84d76c37d
commit
68db9fd99a
@ -179,7 +179,7 @@ namespace plib {
|
||||
inline R call(O *obj, Targs... args) const noexcept(true)
|
||||
{
|
||||
using function_ptr = R (O::*)(Targs...);
|
||||
function_ptr t = *reinterpret_cast<function_ptr *>(&m_func);
|
||||
function_ptr t = *reinterpret_cast<const function_ptr *>(&m_func);
|
||||
return (obj->*t)(std::forward<Targs>(args)...);
|
||||
}
|
||||
bool is_set() const {
|
||||
|
Loading…
Reference in New Issue
Block a user