mirror of
https://github.com/godotengine/godot.git
synced 2024-11-25 21:52:51 +00:00
723878bbab
Before this change StringName used regular static field definitions for its mutex, _table, configured and debug_stringname fields. Since in the general case the ordering of the static variable and field initialization and destruction is undefined, it was possible that the destruction of StringName's static fields happened prior to the destruction of statically allocated StringName instances. By changing the static field definitions to inline in string_name.h, the C++17 standard guarantees the correct initialization and destruction ordering. |
||
---|---|---|
.. | ||
char_range.inc | ||
char_utils.h | ||
locales.h | ||
node_path.cpp | ||
node_path.h | ||
optimized_translation.cpp | ||
optimized_translation.h | ||
print_string.cpp | ||
print_string.h | ||
SCsub | ||
string_buffer.h | ||
string_builder.cpp | ||
string_builder.h | ||
string_name.cpp | ||
string_name.h | ||
translation_po.cpp | ||
translation_po.h | ||
translation.compat.inc | ||
translation.cpp | ||
translation.h | ||
ucaps.h | ||
ustring.cpp | ||
ustring.h |