ObjFW  Check-in [3eae98e873]

Overview
Comment:Remove a cast not required anymore.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 3eae98e873ee8f1500022b9ea9a05f036ef01bbfc892fa3dce4f17a88643340c
User & Date: js on 2011-12-31 18:15:10
Other Links: manifest | tags
Context
2012-01-01
19:41
Some MinGW versions are missing alloca() in <stdlib.h>. check-in: d871468a3a user: js tags: trunk
2011-12-31
18:15
Remove a cast not required anymore. check-in: 3eae98e873 user: js tags: trunk
2011-12-29
14:59
Enhance JSON tests. check-in: db8fae97f2 user: js tags: trunk
Changes

Modified src/exceptions/OFChangeFileModeFailedException.m from [c79ce35a3f] to [8c3c93a212].

24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
#import "common.h"

@implementation OFChangeFileModeFailedException
+ exceptionWithClass: (Class)class_
		path: (OFString*)path
		mode: (mode_t)mode
{
	return [(OFChangeFileModeFailedException*)[[self alloc]
	    initWithClass: class_
		     path: path
		     mode: mode] autorelease];
}

- initWithClass: (Class)class_
{
	Class c = isa;
	[self release];
	@throw [OFNotImplementedException exceptionWithClass: c







<
|
|
|







24
25
26
27
28
29
30

31
32
33
34
35
36
37
38
39
40
#import "common.h"

@implementation OFChangeFileModeFailedException
+ exceptionWithClass: (Class)class_
		path: (OFString*)path
		mode: (mode_t)mode
{

	return [[[self alloc] initWithClass: class_
				       path: path
				       mode: mode] autorelease];
}

- initWithClass: (Class)class_
{
	Class c = isa;
	[self release];
	@throw [OFNotImplementedException exceptionWithClass: c