COMMON: Kill disownPtr and getDispose from DisposablePtr

They unnecessarily expose internal details

Their only user has been eliminated in the previous commit
This commit is contained in:
Vladimir Serbinenko 2022-11-28 01:48:12 +01:00 committed by Eugene Sandulenko
parent 27532df2c7
commit 68452ef2e7

View File

@ -708,14 +708,6 @@ public:
return ret;
}
/**
* Clears the pointer without destroying the old object.
*/
void disownPtr() {
_pointer = nullptr;
_dispose = DisposeAfterUse::NO;
}
/**
* Returns the plain pointer value.
*
@ -723,11 +715,6 @@ public:
*/
PointerType get() const { return _pointer; }
/**
* Returns the pointer's dispose flag.
*/
DisposeAfterUse::Flag getDispose() const { return _dispose; }
template <class T2, class DL2>
friend class DisposablePtr;