@@ -24,11 +24,11 @@ #import "OFTaggedPointerColor.h" @interface OFColorSingleton: OFConcreteColor @end -@interface OFColorPlaceholder: OFColor +@interface OFPlaceholderColor: OFColor @end static struct { Class isa; } placeholder; @@ -35,11 +35,11 @@ #ifdef OF_OBJFW_RUNTIME static const float allowedImprecision = 0.0000001; #endif -@implementation OFColorPlaceholder +@implementation OFPlaceholderColor - (instancetype)initWithRed: (float)red green: (float)green blue: (float)blue alpha: (float)alpha { @@ -75,11 +75,11 @@ @implementation OFColor + (void)initialize { if (self == [OFColor class]) - object_setClass((id)&placeholder, [OFColorPlaceholder class]); + object_setClass((id)&placeholder, [OFPlaceholderColor class]); } + (instancetype)alloc { if (self == [OFColor class])