ObjFW  Diff

Differences From Artifact [99b26a69a8]:

To Artifact [fd629bc278]:


586
587
588
589
590
591
592
593

594
595
596
597
598
599
600
	if (self != [OFString class])
		return;

	placeholder.isa = [OFString_placeholder class];

#if defined(HAVE_STRTOF_L) || defined(HAVE_STRTOD_L)
	if ((cLocale = newlocale(LC_ALL_MASK, "C", NULL)) == NULL)
		@throw [OFInitializationFailedException exception];

#endif
}

+ alloc
{
	if (self == [OFString class])
		return (id)&placeholder;







|
>







586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
	if (self != [OFString class])
		return;

	placeholder.isa = [OFString_placeholder class];

#if defined(HAVE_STRTOF_L) || defined(HAVE_STRTOD_L)
	if ((cLocale = newlocale(LC_ALL_MASK, "C", NULL)) == NULL)
		@throw [OFInitializationFailedException
		    exceptionWithClass: self];
#endif
}

+ alloc
{
	if (self == [OFString class])
		return (id)&placeholder;