* 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:
parent
f91194e546
commit
b0c7d4fa15
@ -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; }
|
||||
|
Loading…
Reference in New Issue
Block a user