Commit 06b2be2d Fix some clang-tidy warnings A newer Clion version brings more clang-tidy, fix most of these.