Fixing clang-tidy-16 Warnings
This is a follow-up on !1089 (merged) which updated the linter to clang-tidy-16. This comes with a host of new warnings as well as several false positives (like detecting constructors as C-style casts).
This MR aims to solve this and make the full-lint fine again.