ObjFW  Diff

Differences From Artifact [27d2646f3d]:

To Artifact [dd90f55a48]:


513
514
515
516
517
518
519






520
521
522

	if (query != nil)
		[desc appendFormat: @"?%@", query];

	if (fragment != nil)
		[desc appendFormat: @"#%@", fragment];







	return desc;
}
@end







>
>
>
>
>
>



513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528

	if (query != nil)
		[desc appendFormat: @"?%@", query];

	if (fragment != nil)
		[desc appendFormat: @"#%@", fragment];

	/*
	 * Class swizzle the string to be immutable. We declared the return type
	 * to be OFString*, so it can't be modified anyway. But not swizzling it
	 * would create a real copy each time -[copy] is called.
	 */
	desc->isa = [OFString class];
	return desc;
}
@end