Added AutoDeleter::Get().
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21582 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
4dac6ac8de
commit
5519ed578c
@ -72,6 +72,11 @@ public:
|
|||||||
SetTo(NULL);
|
SetTo(NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
inline C *Get() const
|
||||||
|
{
|
||||||
|
return fObject;
|
||||||
|
}
|
||||||
|
|
||||||
inline C *Detach()
|
inline C *Detach()
|
||||||
{
|
{
|
||||||
C *object = fObject;
|
C *object = fObject;
|
||||||
|
Loading…
Reference in New Issue
Block a user