Puja a C++20, restaura std::ranges::fill i elimina FRAGMENT_ENTRY no usat a macOS
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user