diff options
Diffstat (limited to 'lldb/source/API/SBEvent.cpp')
-rw-r--r-- | lldb/source/API/SBEvent.cpp | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/lldb/source/API/SBEvent.cpp b/lldb/source/API/SBEvent.cpp index d77f0020835..d1123e7f858 100644 --- a/lldb/source/API/SBEvent.cpp +++ b/lldb/source/API/SBEvent.cpp @@ -156,6 +156,7 @@ SBEvent::GetDescription (SBStream &description) { if (m_opaque) { + description.ref(); m_opaque->Dump (description.get()); } else @@ -163,12 +164,3 @@ SBEvent::GetDescription (SBStream &description) return true; } - -PyObject * -SBEvent::__repr__ () -{ - SBStream description; - description.ref(); - GetDescription (description); - return PyString_FromString (description.GetData()); -} |