ObjFW  Check-in [4f62045a3a]

Overview
Comment:Remove useless invocation of +[OFObject inheritMethodsFromClass:].
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 4f62045a3a69553bd605cd94f2d40cba6a98282af37797e75d2bc9f89e9e9735
User & Date: js on 2011-12-06 02:02:18
Other Links: manifest | tags
Context
2011-12-08
02:25
Make it possible to set a default SOCKS5 proxy for all OFTCPSockets. check-in: a3b3333128 user: js tags: trunk
2011-12-06
02:02
Remove useless invocation of +[OFObject inheritMethodsFromClass:]. check-in: 4f62045a3a user: js tags: trunk
2011-12-01
11:33
Update Xcode project. check-in: 32e8da8f82 user: js tags: trunk
Changes

Modified src/OFConstantString.m from [878ad12e02] to [916899ab02].

112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
@implementation OFConstantString
+ (void)load
{
#ifdef OF_APPLE_RUNTIME
	objc_setFutureClass((Class)&_OFConstantStringClassReference,
	    "OFConstantString");
#endif

	if (self == [OFConstantString class])
		[self inheritMethodsFromClass: [OFString_UTF8 class]];
}

- (void)finishInitialization
{
	struct of_string_utf8_ivars *ivars;

	if ((ivars = malloc(sizeof(*ivars))) == NULL)







<
<
<







112
113
114
115
116
117
118



119
120
121
122
123
124
125
@implementation OFConstantString
+ (void)load
{
#ifdef OF_APPLE_RUNTIME
	objc_setFutureClass((Class)&_OFConstantStringClassReference,
	    "OFConstantString");
#endif



}

- (void)finishInitialization
{
	struct of_string_utf8_ivars *ivars;

	if ((ivars = malloc(sizeof(*ivars))) == NULL)