To try suggested patch "patch0.patch.txt" provided by Matthias.

I should have created a topic branch for this.

This refs #8.
This commit is contained in:
Kazunari Sekigawa 2017-12-19 21:14:25 +09:00
parent 74da54faf8
commit e254f8a67e
1 changed files with 24 additions and 0 deletions

View File

@ -52,6 +52,12 @@ public:
// .. nothing yet ..
}
event_function (const event_function &other)
: m_m (other.m_m)
{
// .. nothing yet ..
}
virtual void call (_JOIN(tl::Object *object, _CALLARGLIST))
{
T *t = dynamic_cast<T *> (object);
@ -81,6 +87,12 @@ public:
// .. nothing yet ..
}
event_function_with_data (const event_function_with_data &other)
: m_m (other.m_m), m_d (other.m_d)
{
// .. nothing yet ..
}
virtual void call (_JOIN(tl::Object *object, _CALLARGLIST))
{
T *t = dynamic_cast<T *> (object);
@ -111,6 +123,12 @@ public:
// .. nothing yet ..
}
generic_event_function (const generic_event_function &other)
: m_m (other.m_m)
{
// .. nothing yet ..
}
virtual void call (_JOIN(tl::Object *object, _CALLARGLIST))
{
T *t = dynamic_cast<T *> (object);
@ -141,6 +159,12 @@ public:
// .. nothing yet ..
}
generic_event_function_with_data (const generic_event_function_with_data &other)
: m_m (other.m_m), m_d (other.m_d)
{
// .. nothing yet ..
}
virtual void call (_JOIN(tl::Object *object, _CALLARGLIST))
{
T *t = dynamic_cast<T *> (object);