@@ -29,15 +29,10 @@ #import "OFMacros.h" #import "asprintf.h" @implementation OFMutableString -- (id)copy -{ - return [[OFString alloc] initWithString: self]; -} - - setToCString: (const char*)str { size_t len; if (string != NULL) @@ -394,6 +389,11 @@ [e dealloc]; } return self; } + +- (id)copy +{ + return [[OFString alloc] initWithString: self]; +} @end