Changes: 1. `NULL` -> `nullptr`. 2. Cast `void *` to `T *` by using `static_cast`. 3. Using `LISTBASE_FOREACH` instead of manual for-loops. 4. `eNTreeDoVersionErrors` now is `enum class : int8_t`. 5. `eNTreeDoVersionErrors` declaration moved to global scope. 6. `ENUM_OPERATORS` for `eNTreeDoVersionErrors`. See: https://projects.blender.org/blender/blender/issues/103343 Pull Request: https://projects.blender.org/blender/blender/pulls/108100