ObjFW  Diff

Differences From Artifact [2113b35dea]:

To Artifact [3edaa624cf]:


183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
- (unsigned long)hash
{
	unsigned long hash;

	OFHashInit(&hash);

	for (size_t i = 0; i < sizeof(_bytes); i++)
		OFHashAdd(&hash, _bytes[i]);

	OFHashFinalize(&hash);

	return hash;
}

- (id)copy







|







183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
- (unsigned long)hash
{
	unsigned long hash;

	OFHashInit(&hash);

	for (size_t i = 0; i < sizeof(_bytes); i++)
		OFHashAddByte(&hash, _bytes[i]);

	OFHashFinalize(&hash);

	return hash;
}

- (id)copy