Ensure compatibility with C++26

Checked with GCC 15 and Clang 20

Merge request reports

Loading