mirror of
https://github.com/ciphervance/supercell-wx.git
synced 2025-10-30 04:10:06 +00:00
clang-tidy updates for AWIPS message
This commit is contained in:
parent
018052b78d
commit
f3debc08de
1 changed files with 3 additions and 2 deletions
|
|
@ -84,8 +84,9 @@ public:
|
|||
if constexpr (std::endian::native == std::endian::little)
|
||||
{
|
||||
// NOLINTBEGIN(cppcoreguidelines-avoid-magic-numbers)
|
||||
std::uint32_t high = ntohl(static_cast<std::uint32_t>(value >> 32));
|
||||
std::uint32_t low =
|
||||
const std::uint32_t high =
|
||||
ntohl(static_cast<std::uint32_t>(value >> 32));
|
||||
const std::uint32_t low =
|
||||
ntohl(static_cast<std::uint32_t>(value & 0xFFFFFFFFULL));
|
||||
return (static_cast<std::uint64_t>(low) << 32) | high;
|
||||
// NOLINTEND(cppcoreguidelines-avoid-magic-numbers)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue