* 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:
@@ -158,14 +158,6 @@ public:
|
|||||||
return *this;
|
return *this;
|
||||||
}
|
}
|
||||||
|
|
||||||
inline ThisClass& operator=(ThisClass& otherLocker)
|
|
||||||
{
|
|
||||||
fLockable = otherLocker.fLockable;
|
|
||||||
fLocked = otherLocker.fLocked;
|
|
||||||
otherLocker.Detach();
|
|
||||||
return &this;
|
|
||||||
}
|
|
||||||
|
|
||||||
inline bool IsLocked() const { return fLocked; }
|
inline bool IsLocked() const { return fLocked; }
|
||||||
|
|
||||||
inline operator bool() const { return fLocked; }
|
inline operator bool() const { return fLocked; }
|
||||||
|
|||||||
Reference in New Issue
Block a user