mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 22:29:39 -06:00
Merge pull request #10377 from Pokechu22/warning-fixes-jan-2022
Fix several compile warnings on GCC
This commit is contained in:
@ -37,7 +37,7 @@ constexpr Dest SaturatingCast(T value)
|
||||
{
|
||||
static_assert(std::is_integral<Dest>());
|
||||
|
||||
constexpr Dest lo = std::numeric_limits<Dest>::lowest();
|
||||
[[maybe_unused]] constexpr Dest lo = std::numeric_limits<Dest>::lowest();
|
||||
constexpr Dest hi = std::numeric_limits<Dest>::max();
|
||||
|
||||
// T being a signed integer and Dest unsigned is a problematic case because the value will
|
||||
|
Reference in New Issue
Block a user