aboutsummaryrefslogtreecommitdiff
path: root/source/API/SBListener.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/API/SBListener.cpp')
-rw-r--r--source/API/SBListener.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/source/API/SBListener.cpp b/source/API/SBListener.cpp
index 501535a897b4..50fed4e1ee7b 100644
--- a/source/API/SBListener.cpp
+++ b/source/API/SBListener.cpp
@@ -15,8 +15,8 @@
#include "lldb/Core/Broadcaster.h"
#include "lldb/Core/Debugger.h"
#include "lldb/Core/Listener.h"
-#include "lldb/Core/Log.h"
-#include "lldb/Core/StreamString.h"
+#include "lldb/Utility/Log.h"
+#include "lldb/Utility/StreamString.h"
using namespace lldb;
using namespace lldb_private;
@@ -302,6 +302,8 @@ bool SBListener::HandleBroadcastEvent(const SBEvent &event) {
return false;
}
+lldb::ListenerSP SBListener::GetSP() { return m_opaque_sp; }
+
Listener *SBListener::operator->() const { return m_opaque_sp.get(); }
Listener *SBListener::get() const { return m_opaque_sp.get(); }