mirror of
https://git.eden-emu.dev/eden-emu/eden
synced 2026-06-28 09:45:45 +02:00
smol change
This commit is contained in:
parent
9ec293d7ab
commit
8037f1fbf6
1 changed files with 1 additions and 1 deletions
|
|
@ -65,7 +65,7 @@ u32 SaturatingSub(u32 lhs, u32 rhs) {
|
|||
template <typename T>
|
||||
[[nodiscard]] u32 StaticDescriptorCount(T const& descriptors) noexcept {
|
||||
return std::accumulate(descriptors.cbegin(), descriptors.cend(), 0U, [](auto const& acc, auto const& e) {
|
||||
return acc + e.count <= 1 ? e.count : 0;
|
||||
return acc + (e.count <= 1 ? e.count : 0);
|
||||
});
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue