aboutsummaryrefslogtreecommitdiff
path: root/source/API/SBEvent.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/API/SBEvent.cpp')
-rw-r--r--source/API/SBEvent.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/source/API/SBEvent.cpp b/source/API/SBEvent.cpp
index 57a699fd739d..c62c495b87c8 100644
--- a/source/API/SBEvent.cpp
+++ b/source/API/SBEvent.cpp
@@ -43,6 +43,12 @@ SBEvent::SBEvent (EventSP &event_sp) :
{
}
+SBEvent::SBEvent (Event *event_ptr) :
+ m_event_sp (),
+ m_opaque_ptr (event_ptr)
+{
+}
+
SBEvent::SBEvent (const SBEvent &rhs) :
m_event_sp (rhs.m_event_sp),
m_opaque_ptr (rhs.m_opaque_ptr)