@@ -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 @@ -37,26 +37,30 @@ } /** * @brief The condition for which is still being waited. */ -@property OF_NULLABLE_PROPERTY (readonly, nonatomic) OFCondition *condition; +@property (readonly, nonatomic) OFCondition *condition; /** * @brief Creates a new, autoreleased condition still waiting exception. * * @param condition The condition for which is still being waited * @return A new, autoreleased condition still waiting exception */ -+ (instancetype)exceptionWithCondition: (nullable OFCondition *)condition; ++ (instancetype)exceptionWithCondition: (OFCondition *)condition; + ++ (instancetype)exception OF_UNAVAILABLE; /** * @brief Initializes an already allocated condition still waiting exception. * * @param condition The condition for which is still being waited * @return An initialized condition still waiting exception */ -- (instancetype)initWithCondition: (nullable OFCondition *)condition +- (instancetype)initWithCondition: (OFCondition *)condition OF_DESIGNATED_INITIALIZER; + +- (instancetype)init OF_UNAVAILABLE; @end OF_ASSUME_NONNULL_END