ObjFW  Check-in [d2b7c93cd8]

Overview
Comment:OFSubarray: Remove unused method
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: d2b7c93cd82e1440575876a57820240d43066584978f131d0afff70527d3c7ec
User & Date: js on 2024-08-16 21:40:42
Other Links: manifest | tags
Context
2024-08-16
21:50
Disable UNIX datagram sockets on Hurd check-in: 7de187fbde user: js tags: trunk
21:40
OFSubarray: Remove unused method check-in: d2b7c93cd8 user: js tags: trunk
2024-08-11
13:30
Increase library versions check-in: c6977f1ad1 user: js tags: trunk
Changes

Modified src/OFSubarray.m from [0da8c829e6] to [b09ea5aec8].

20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
#include "config.h"

#import "OFSubarray.h"

#import "OFOutOfRangeException.h"

@implementation OFSubarray
+ (instancetype)arrayWithArray: (OFArray *)array range: (OFRange)range
{
	return [[[self alloc] initWithArray: array range: range] autorelease];
}

- (instancetype)initWithArray: (OFArray *)array range: (OFRange)range
{
	self = [super init];

	@try {
		/* Should usually be retain, as it's useless with a copy */
		_array = [array copy];







<
<
<
<
<







20
21
22
23
24
25
26





27
28
29
30
31
32
33
#include "config.h"

#import "OFSubarray.h"

#import "OFOutOfRangeException.h"

@implementation OFSubarray





- (instancetype)initWithArray: (OFArray *)array range: (OFRange)range
{
	self = [super init];

	@try {
		/* Should usually be retain, as it's useless with a copy */
		_array = [array copy];