forked from OSchip/llvm-project
Move the definition of SBListener::GetSP() to SBListener.cpp.
This is the requirement for all functions in the public API, to eliminate weak symbol definitions. llvm-svn: 299020
This commit is contained in:
parent
4d93d66ddd
commit
d53048c479
|
@ -89,7 +89,7 @@ protected:
|
|||
|
||||
SBListener(const lldb::ListenerSP &listener_sp);
|
||||
|
||||
lldb::ListenerSP GetSP() { return m_opaque_sp; }
|
||||
lldb::ListenerSP GetSP();
|
||||
|
||||
private:
|
||||
lldb_private::Listener *operator->() const;
|
||||
|
|
|
@ -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(); }
|
||||
|
|
Loading…
Reference in New Issue