diff --git a/Source/ASTextNode2.mm b/Source/ASTextNode2.mm index 4a43278da9..e11d3b9961 100644 --- a/Source/ASTextNode2.mm +++ b/Source/ASTextNode2.mm @@ -48,13 +48,6 @@ */ #define AS_TEXTNODE2_RECORD_ATTRIBUTED_STRINGS 0 -#define AS_TEXT_ALERT_UNIMPLEMENTED_FEATURE() { \ - static dispatch_once_t onceToken; \ - dispatch_once(&onceToken, ^{ \ - NSLog(@"[Texture] Warning: Feature %@ is unimplemented in the experimental text node.", NSStringFromSelector(_cmd)); \ - });\ -} - /** * If it can't find a compatible layout, this method creates one. * diff --git a/Source/ASTextNodeCommon.h b/Source/ASTextNodeCommon.h index c702561e63..fbb32ca39e 100644 --- a/Source/ASTextNodeCommon.h +++ b/Source/ASTextNodeCommon.h @@ -10,6 +10,13 @@ @class ASTextNode; +#define AS_TEXT_ALERT_UNIMPLEMENTED_FEATURE() { \ + static dispatch_once_t onceToken; \ + dispatch_once(&onceToken, ^{ \ + NSLog(@"[Texture] Warning: Feature %@ is unimplemented in %@.", NSStringFromSelector(_cmd), NSStringFromClass(self.class)); \ + });\ +} + /** * Highlight styles. */