netgen/libsrc
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
..
core auto difference type 2024-12-18 08:18:40 +01:00
csg Fix build warnings (found with gcc -Wall) 2024-12-03 18:58:12 +01:00
general Fix build warnings (found with gcc -Wall) 2024-12-03 18:58:12 +01:00
geom2d fix (false) warnings 2024-07-20 10:25:45 +02:00
gprim tolerance in CrossPointBarycentric 2024-11-29 13:01:34 +01:00
include more to nginterface2 2024-12-13 16:48:37 +01:00
interface Fix static initialization order for UserFormatRegister map 2024-12-19 18:04:16 +01:00
linalg Fix build warnings (found with gcc -Wall) 2024-12-03 18:58:12 +01:00
meshing Fix static initialization order for UserFormatRegister map 2024-12-19 18:04:16 +01:00
occ archive vertex properties (in backwards compatible way) 2024-12-12 17:45:39 +01:00
stlgeom Fix build warnings (found with gcc -Wall) 2024-12-03 18:58:12 +01:00
visualization Fix point selection on clipping plane 2024-12-12 16:42:57 +01:00
CMakeLists.txt rework build system, separate gui and non-gui code 2022-05-05 14:39:31 +02:00