mirror of
https://github.com/holub/mame
synced 2025-05-24 14:56:21 +03:00
Fix compiling on older GCCs (including OS X PowerPC) [Aaron Giles]
This commit is contained in:
parent
046250f179
commit
92812cc132
@ -776,7 +776,7 @@ public:
|
||||
// bind the actual object
|
||||
void bind(bindable_object &object)
|
||||
{
|
||||
m_object = (*m_caster)(object);
|
||||
m_object = (*this->m_caster)(object);
|
||||
if (m_rawfunction.u.funcptr != NULL)
|
||||
m_function = reinterpret_cast<static_func>(delegate_convert_raw(m_object, m_rawfunction));
|
||||
}
|
||||
@ -878,7 +878,7 @@ public:
|
||||
// bind the actual object
|
||||
void bind(bindable_object &object)
|
||||
{
|
||||
m_object = (*m_caster)(object);
|
||||
m_object = (*this->m_caster)(object);
|
||||
if (m_rawfunction.u.funcptr != NULL)
|
||||
m_function = reinterpret_cast<static_func>(delegate_convert_raw(m_object, m_rawfunction));
|
||||
}
|
||||
@ -980,7 +980,7 @@ public:
|
||||
// bind the actual object
|
||||
void bind(bindable_object &object)
|
||||
{
|
||||
m_object = (*m_caster)(object);
|
||||
m_object = (*this->m_caster)(object);
|
||||
if (m_rawfunction.u.funcptr != NULL)
|
||||
m_function = reinterpret_cast<static_func>(delegate_convert_raw(m_object, m_rawfunction));
|
||||
}
|
||||
@ -1082,7 +1082,7 @@ public:
|
||||
// bind the actual object
|
||||
void bind(bindable_object &object)
|
||||
{
|
||||
m_object = (*m_caster)(object);
|
||||
m_object = (*this->m_caster)(object);
|
||||
if (m_rawfunction.u.funcptr != NULL)
|
||||
m_function = reinterpret_cast<static_func>(delegate_convert_raw(m_object, m_rawfunction));
|
||||
}
|
||||
@ -1184,7 +1184,7 @@ public:
|
||||
// bind the actual object
|
||||
void bind(bindable_object &object)
|
||||
{
|
||||
m_object = (*m_caster)(object);
|
||||
m_object = (*this->m_caster)(object);
|
||||
if (m_rawfunction.u.funcptr != NULL)
|
||||
m_function = reinterpret_cast<static_func>(delegate_convert_raw(m_object, m_rawfunction));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user