Index: src/OFMapTable.m ================================================================== --- src/OFMapTable.m +++ src/OFMapTable.m @@ -231,11 +231,11 @@ } return hash; } -- (id)copy +- copy { OFMapTable *copy = [[OFMapTable alloc] initWithKeyFunctions: _keyFunctions valueFunctions: _valueFunctions capacity: _capacity]; Index: src/OFUDPSocket.m ================================================================== --- src/OFUDPSocket.m +++ src/OFUDPSocket.m @@ -369,11 +369,11 @@ [self close]; [super dealloc]; } -- (id)copy +- copy { return [self retain]; } - (uint16_t)bindToHost: (OFString*)host