@@ -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 @@ -180,13 +180,12 @@ * * @param objects A C array of objects * @param count The length of the C array * @return A new autoreleased OFArray */ -+ (instancetype) - arrayWithObjects: (ObjectType const _Nonnull *_Nonnull)objects - count: (size_t)count; ++ (instancetype)arrayWithObjects: (ObjectType const _Nonnull *_Nonnull)objects + count: (size_t)count; /** * @brief Initializes an OFArray with the specified object. * * @param object An object @@ -435,18 +434,10 @@ * @return A new array with the objects from the specified array added */ - (OFArray OF_GENERIC(ObjectType) *)arrayByAddingObjectsFromArray: (OFArray OF_GENERIC(ObjectType) *)array; -/** - * @brief Creates a new array with the specified object removed. - * - * @param object The object to remove - * @return A new array with the specified object removed - */ -- (OFArray OF_GENERIC(ObjectType) *)arrayByRemovingObject: (ObjectType)object; - #ifdef OF_HAVE_BLOCKS /** * @brief Executes a block for each object. * * @param block The block to execute for each object