diff options
author | Greg Clayton <gclayton@apple.com> | 2010-12-05 19:36:39 +0000 |
---|---|---|
committer | Greg Clayton <gclayton@apple.com> | 2010-12-05 19:36:39 +0000 |
commit | 1c2f283864d5457b0cb04310aaa3013e1f48a959 (patch) | |
tree | bc316ba2684e88852d49d43bf439bba05188e801 /lldb/source/API/SBBroadcaster.cpp | |
parent | 920c696c543e4862bc1c73b5072f17330f3d1201 (diff) | |
download | bcm5719-llvm-1c2f283864d5457b0cb04310aaa3013e1f48a959.tar.gz bcm5719-llvm-1c2f283864d5457b0cb04310aaa3013e1f48a959.zip |
Added "void SBBroadcaster::Clear ();" method to SBBroadcaster.
llvm-svn: 120949
Diffstat (limited to 'lldb/source/API/SBBroadcaster.cpp')
-rw-r--r-- | lldb/source/API/SBBroadcaster.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lldb/source/API/SBBroadcaster.cpp b/lldb/source/API/SBBroadcaster.cpp index 35f7bffde08..f36a309b04c 100644 --- a/lldb/source/API/SBBroadcaster.cpp +++ b/lldb/source/API/SBBroadcaster.cpp @@ -170,6 +170,13 @@ SBBroadcaster::IsValid () const return m_opaque_ptr != NULL; } +void +SBBroadcaster::Clear () +{ + m_opaque_sp.reset(); + m_opaque_ptr = NULL; +} + bool SBBroadcaster::operator == (const SBBroadcaster &rhs) const { |