ObjFW  Diff

Differences From Artifact [7666d17f06]:

To Artifact [5fed7eca62]:


86
87
88
89
90
91
92
93

94
95
96
97
98
99
100

	return YES;
}

- (int)compare: (id)obj
{
	if (![obj isKindOf: [OFString class]])
		@throw [OFInvalidArgumentException newWithClass: isa];


	return strcmp(string, [obj cString]);
}

- (uint32_t)hash
{
	uint32_t hash;







|
>







86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101

	return YES;
}

- (int)compare: (id)obj
{
	if (![obj isKindOf: [OFString class]])
		@throw [OFInvalidArgumentException newWithClass: isa
						    andSelector: _cmd];

	return strcmp(string, [obj cString]);
}

- (uint32_t)hash
{
	uint32_t hash;