mirror of
https://github.com/NGSolve/netgen.git
synced 2025-01-27 05:10:34 +05:00
78782dcd53
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. |
||
---|---|---|
.. | ||
core | ||
csg | ||
general | ||
geom2d | ||
gprim | ||
include | ||
interface | ||
linalg | ||
meshing | ||
occ | ||
stlgeom | ||
visualization | ||
CMakeLists.txt |