From e254f8a67e6c6b8c76f9238f50a4600bfecc4457 Mon Sep 17 00:00:00 2001 From: Kazunari Sekigawa Date: Tue, 19 Dec 2017 21:14:25 +0900 Subject: [PATCH] To try suggested patch "patch0.patch.txt" provided by Matthias. I should have created a topic branch for this. This refs #8. --- src/tl/tl/tlEventsVar.h | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/src/tl/tl/tlEventsVar.h b/src/tl/tl/tlEventsVar.h index d84e90c84..4470c83f8 100644 --- a/src/tl/tl/tlEventsVar.h +++ b/src/tl/tl/tlEventsVar.h @@ -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 (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 (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 (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 (object);