ObjFW  Diff

Differences From Artifact [7b7f10cde1]:

To Artifact [993ed1e2bc]:


640
641
642
643
644
645
646










647
- (void)writeToFile: (OFString*)path
{
	if (initialized != SIZE_MAX)
		[self finishInitialization];

	return [super writeToFile: path];
}










@end







>
>
>
>
>
>
>
>
>
>

640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
- (void)writeToFile: (OFString*)path
{
	if (initialized != SIZE_MAX)
		[self finishInitialization];

	return [super writeToFile: path];
}

#ifdef OF_HAVE_BLOCKS
- (void)enumerateLinesUsingBlock: (of_string_line_enumeration_block_t)block
{
	if (initialized != SIZE_MAX)
		[self finishInitialization];

	return [super enumerateLinesUsingBlock: block];
}
#endif
@end