ObjFW  Check-in [9706b6199d]

Overview
Comment:OFData: Fix a brain fart
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 9706b6199d57086a3d1869e7db8735bcb38d6f49893065c78804ef61d6ce66fe
User & Date: js on 2023-08-08 09:36:11
Other Links: manifest | tags
Context
2023-08-08
09:41
Rename OFConcreteData -> OFAdjacentData check-in: f886f21ad5 user: js tags: trunk
09:36
OFData: Fix a brain fart check-in: 9706b6199d user: js tags: trunk
2023-08-07
20:59
Make GCC happy again check-in: 5f9d8d958b user: js tags: trunk
Changes

Modified src/OFData.m from [7bf8c0e585] to [b2f1d97df1].

205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
+ (instancetype)dataWithBase64EncodedString: (OFString *)string
{
	return [[[self alloc] initWithBase64EncodedString: string] autorelease];
}

- (instancetype)init
{
	if ([self isMemberOfClass: [OFString class]]) {
		@try {
			[self doesNotRecognizeSelector: _cmd];
		} @catch (id e) {
			[self release];
			@throw e;
		}








|







205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
+ (instancetype)dataWithBase64EncodedString: (OFString *)string
{
	return [[[self alloc] initWithBase64EncodedString: string] autorelease];
}

- (instancetype)init
{
	if ([self isMemberOfClass: [OFData class]]) {
		@try {
			[self doesNotRecognizeSelector: _cmd];
		} @catch (id e) {
			[self release];
			@throw e;
		}