Remove deprecated SharedPtr::getObject

This commit is contained in:
Vinnie Falco
2013-09-12 03:01:02 -07:00
parent 9eda4bc6fa
commit 41eb8a1e29
2 changed files with 1 additions and 9 deletions

View File

@@ -216,14 +216,6 @@ public:
return m_p; return m_p;
} }
/** Returns the object that this pointer references if any, else nullptr.
DEPRECATED
*/
T* getObject () const noexcept
{
return m_p;
}
private: private:
// Acquire a reference to u for the caller. // Acquire a reference to u for the caller.
// //

View File

@@ -616,7 +616,7 @@ void ListenersBase::remove_void (void* const listener)
// Remove it from the list and manually release // Remove it from the list and manually release
// the reference since the list uses raw pointers. // the reference since the list uses raw pointers.
m_groups.erase (m_groups.iterator_to (*group.getObject ())); m_groups.erase (m_groups.iterator_to (*group);
group->decReferenceCount (); group->decReferenceCount ();
// It is still possible for the group to exist at this // It is still possible for the group to exist at this