Index: src/OFXMLFactory.h ================================================================== --- src/OFXMLFactory.h +++ src/OFXMLFactory.h @@ -7,11 +7,10 @@ * This file is part of libobjfw. It may be distributed under the terms of the * Q Public License 1.0, which can be found in the file LICENSE included in * the packaging of this file. */ -#include #include #import "OFObject.h" /** Index: tests/OFAutoreleasePool/OFAutoreleasePool.m ================================================================== --- tests/OFAutoreleasePool/OFAutoreleasePool.m +++ tests/OFAutoreleasePool/OFAutoreleasePool.m @@ -34,11 +34,11 @@ @implementation TestObject - init { id ret; - ret = init(self, @selector(init)); + ret = init(self, _cmd); printf("New %s with retain cnt " ZD "\n", [self name], [ret retainCount]); return ret; } @@ -45,21 +45,21 @@ - retain { id ret; - ret = retain(self, @selector(retain)); + ret = retain(self, _cmd); printf("Retaining %s to " ZD "\n", [self name], [ret retainCount]); return ret; } - (void)release { printf("Releasing %s to " ZD "\n", [self name], [self retainCount] - 1); - release(self, @selector(release)); + release(self, _cmd); } @end int main()