Puja a C++20, restaura std::ranges::fill i elimina FRAGMENT_ENTRY no usat a macOS

This commit is contained in:
2026-05-04 13:56:31 +02:00
parent ee8b09aa8f
commit e4f9d852c5
3 changed files with 2 additions and 3 deletions

View File

@@ -418,7 +418,7 @@ namespace Ja {
const float V = SDL_clamp(volume, 0.0F, 1.0F);
if (group == -1) {
std::fill(std::begin(sound_volume_), std::end(sound_volume_), V);
std::ranges::fill(sound_volume_, V);
} else if (group >= 0 && group < MAX_GROUPS) {
sound_volume_[group] = V;
} else {