tycho: use std::byte
parent
f15f2f6dcc
commit
e90e4df392
|
@ -166,10 +166,7 @@ static inline void dbgPrint([[maybe_unused]] char const *fmt,
|
||||||
|
|
||||||
#define dbgPrintFunc() dbgPrint("%s", __func__)
|
#define dbgPrintFunc() dbgPrint("%s", __func__)
|
||||||
|
|
||||||
static inline constexpr std::uint32_t fourCC(std::uint8_t a,
|
constexpr std::uint32_t fourCC(std::byte a, std::byte b, std::byte c, std::byte d)
|
||||||
std::uint8_t b,
|
|
||||||
std::uint8_t c,
|
|
||||||
std::uint8_t d)
|
|
||||||
{
|
{
|
||||||
return (a << 24) | (b << 16) | (c << 8) | d;
|
return (a << 24) | (b << 16) | (c << 8) | d;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue