Blender Git Loki

Git Commits -> Revision 9b2661a

March 16, 2021, 16:38 (GMT)
Construct-on-first-use to stay far away from static init. fiasco

We didn't actually run into the static initialization fiasco, but only
because `blender::Map` didn't use the guarded allocator on default
destruction. Better to stay far way from static initialization fiasco,
and the construct on first use idiom is trivial and prevents it. So
better use that.

Commit Details:

Full Hash: 9b2661a8e072c4ddac317390ca47a3b43ae26496
Parent Commit: 19e1ae8
Lines Changed: +18, -10

1 Modified Path:

/source/blender/editors/asset/asset_list.cc (+18, -10) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021