1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00
JUCE/modules/juce_core/xml
reuk 1023f62338 XmlElement: Avoid potential undefined-init-order issues with juce_xmltextContentAttributeName
This fixes potential crashes when this static object is accessed from
the constructors of other objects with static storage duration.

A concrete example of this could be seen when running the following on
Linux:

    static inline const Typeface::Ptr face =
        Typeface::createSystemTypefaceFor (...);

Here, 'face' is a static data member of some class. Creating a system
typeface on Linux will parse an XML document of system typefaces,
eventually accessing juce_xmltextContentAttributeName.
2024-07-08 13:09:30 +01:00
..
juce_XmlDocument.cpp Update licensing information 2024-04-16 11:39:35 +01:00
juce_XmlDocument.h Update licensing information 2024-04-16 11:39:35 +01:00
juce_XmlElement.cpp XmlElement: Avoid potential undefined-init-order issues with juce_xmltextContentAttributeName 2024-07-08 13:09:30 +01:00
juce_XmlElement.h Update licensing information 2024-04-16 11:39:35 +01:00