Stefan Brüns 78782dcd53 Fix static initialization order for UserFormatRegister map
A std::map is in an invalid state when just zero-initialized, and needs
to be initialized by its constructor. As this initilization may be done
after the first call to Register, a crash will typically happen.

To fix this wrap all accesses to the map with a Meyers Singleton. Also
remove the extra Array - most accesses are using the key, and the few
format list iterations all sort the result afterwards anyway.

Fixes #201.
2024-12-19 18:04:16 +01:00
..
2023-10-24 10:41:27 +02:00
2024-12-13 16:48:37 +01:00
2022-02-23 11:56:00 +01:00
2024-02-12 07:44:26 +01:00
2023-11-06 17:33:36 +01:00
2022-02-23 11:56:00 +01:00
2023-10-12 19:04:40 +02:00
2023-10-12 19:04:40 +02:00
2023-10-12 19:04:40 +02:00
2023-10-12 19:04:40 +02:00
2023-10-12 19:04:40 +02:00
2023-10-12 19:04:40 +02:00
2023-10-12 19:04:40 +02:00
2023-10-12 19:04:40 +02:00
2023-10-12 19:04:40 +02:00