diff options
author | Jacques Lucke <jacques@blender.org> | 2020-07-17 15:15:06 +0300 |
---|---|---|
committer | Jacques Lucke <jacques@blender.org> | 2020-07-17 15:15:06 +0300 |
commit | 267923604754a50064c04a925a841a6714253d72 (patch) | |
tree | fc55f50254c428b1c94f760988d7cd9a5c9f75cf /source/blender/blenkernel | |
parent | 3ef59121a49b986700747469850e02f6420ee8aa (diff) |
Cleanup: avoid static initialization order issues when accessing CPPTypes
Instead of depending on static initialization order of globals use
static variables within functions. Those are initialized on first use.
This is every so slighly less efficient, but avoids a full class of problems.
Diffstat (limited to 'source/blender/blenkernel')
-rw-r--r-- | source/blender/blenkernel/intern/simulation.cc | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/simulation.cc b/source/blender/blenkernel/intern/simulation.cc index cec3547a3f3..1ac987d130d 100644 --- a/source/blender/blenkernel/intern/simulation.cc +++ b/source/blender/blenkernel/intern/simulation.cc @@ -54,7 +54,6 @@ #include "BLT_translation.h" #include "FN_attributes_ref.hh" -#include "FN_cpp_types.hh" #include "FN_multi_function_network_evaluation.hh" #include "FN_multi_function_network_optimization.hh" |