Merge pull request #2653 from BioDataAnalysis/bda_fix_clang15

Minor fixes to satisfy MSVC 2022 in c++20 mode