* Removed operator=(otherLocker) again. Didn't really make sense this way,

as Stippi correctly pointed out.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30748 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler 2009-05-13 14:45:53 +00:00
parent f91194e546
commit b0c7d4fa15

View File

@ -158,14 +158,6 @@ public:
return *this;
}
inline ThisClass& operator=(ThisClass& otherLocker)
{
fLockable = otherLocker.fLockable;
fLocked = otherLocker.fLocked;
otherLocker.Detach();
return &this;
}
inline bool IsLocked() const { return fLocked; }
inline operator bool() const { return fLocked; }