@@ -1,7 +1,7 @@ /* - * Copyright (c) 2008-2022 Jonathan Schleifer + * Copyright (c) 2008-2024 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 @@ -13,15 +13,15 @@ * file. */ #include "config.h" -#import "OFAdjacentSubarray.h" -#import "OFAdjacentArray.h" -#import "OFMutableAdjacentArray.h" +#import "OFConcreteSubarray.h" +#import "OFConcreteArray.h" +#import "OFConcreteMutableArray.h" -@implementation OFAdjacentSubarray +@implementation OFConcreteSubarray - (const id *)objects { return _array.objects + _range.location; } @@ -31,12 +31,12 @@ id const *objects, *otherObjects; if (object == self) return true; - if (![object isKindOfClass: [OFAdjacentArray class]] && - ![object isKindOfClass: [OFMutableAdjacentArray class]]) + if (![object isKindOfClass: [OFConcreteArray class]] && + ![object isKindOfClass: [OFConcreteMutableArray class]]) return [super isEqual: object]; otherArray = object; if (_range.length != otherArray.count)