From b0c7d4fa15667218f7c24bc840a601b16107f52b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20D=C3=B6rfler?= Date: Wed, 13 May 2009 14:45:53 +0000 Subject: [PATCH] * 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 --- headers/private/shared/AutoLocker.h | 8 -------- 1 file changed, 8 deletions(-) diff --git a/headers/private/shared/AutoLocker.h b/headers/private/shared/AutoLocker.h index 112521881b..9baa7aa7a5 100644 --- a/headers/private/shared/AutoLocker.h +++ b/headers/private/shared/AutoLocker.h @@ -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; }