Léo Lam
83c5446d85
Fix static initialisation order fiasco issue for Version variables
...
Fixes a crash that could occur if the static constructor function for
the MainSettings.cpp TU happened to run before the variables in
Common/Version.cpp are initialised. (This is known as the static
initialisation order fiasco.)
By using wrapper functions, those variables are now guaranteed to be
constructed on first use.
2022-01-14 00:04:22 +01:00
..
2021-01-27 14:29:48 -08:00
2021-07-05 04:35:56 +02:00
2021-10-13 12:32:16 -07:00
2021-07-05 04:35:56 +02:00
2021-11-17 20:04:34 -08:00
2021-07-05 04:35:56 +02:00
2022-01-14 00:04:22 +01:00
2021-07-05 04:35:56 +02:00
2021-12-10 14:49:57 -08:00
2021-07-05 04:35:56 +02:00
2021-08-30 13:47:48 -05:00
2021-07-05 04:35:56 +02:00
2021-07-05 04:35:56 +02:00
2021-12-10 14:49:57 -08:00
2021-10-04 15:51:24 -04:00
2021-12-10 14:49:57 -08:00
2021-07-05 04:35:56 +02:00
2021-07-05 04:35:56 +02:00
2021-09-20 19:14:41 -04:00
2021-07-05 04:35:56 +02:00
2021-12-10 14:49:57 -08:00
2021-10-04 15:51:24 -04:00
2022-01-03 20:17:57 +01:00
2021-08-30 13:47:48 -05:00
2021-07-05 04:35:56 +02:00
2021-07-05 04:35:56 +02:00
2021-07-05 04:35:56 +02:00
2021-10-13 12:32:16 -07:00
2022-01-03 20:17:57 +01:00
2021-08-30 13:47:48 -05:00
2021-12-18 15:21:48 -08:00
2021-07-05 04:35:56 +02:00
2021-07-05 04:35:56 +02:00
2021-07-05 04:35:56 +02:00
2021-12-28 21:18:47 -05:00
2021-07-05 04:35:56 +02:00
2021-08-30 13:47:48 -05:00
2021-12-10 14:49:57 -08:00
2021-10-24 11:48:36 -07:00