* added operator-> for convenience

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37825 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Oliver Tappe 2010-07-31 15:34:28 +00:00
parent 568bdbf719
commit b97e12926c

View File

@ -66,6 +66,11 @@ public:
return object;
}
inline C *operator->() const
{
return fObject;
}
protected:
C *fObject;
DeleteFunc fDelete;