@@ -1,7 +1,7 @@ /* - * Copyright (c) 2008-2021 Jonathan Schleifer + * Copyright (c) 2008-2022 Jonathan Schleifer * * All rights reserved. * * This file is part of ObjFW. It may be distributed under the terms of the * Q Public License 1.0, which can be found in the file LICENSE.QPL included in @@ -24,11 +24,11 @@ * * @brief An exception indicating that unlocking a lock failed. */ @interface OFUnlockFailedException: OFException { - id _lock; + id _Nullable _lock; int _errNo; } /** * @brief The lock which could not be unlocked. @@ -57,10 +57,8 @@ * @param errNo The errno of the error that occurred * @return An initialized unlock failed exception */ - (instancetype)initWithLock: (nullable id )lock errNo: (int)errNo OF_DESIGNATED_INITIALIZER; - -- (instancetype)init OF_UNAVAILABLE; @end OF_ASSUME_NONNULL_END