7 #include <aws/common/assert.h>
39 m_strongPtr =
static_cast<T *
>(
this)->shared_from_this();
48 std::shared_ptr<T> tmpStrongPtr;
51 AWS_ASSERT(m_count > 0 &&
"refcount has gone negative");
54 std::swap(m_strongPtr, tmpStrongPtr);
64 std::shared_ptr<T> m_strongPtr;