Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] authored and phlptp committed Oct 1, 2024
1 parent 284b924 commit 7997cd4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions units/unit_definitions.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -852,8 +852,8 @@ namespace precise {
return ((static_cast<std::uint32_t>(val >> bit) & 0x1U) > 0U) ? 1 :
0;
}
constexpr auto
bShiftu(std::uint16_t val, std::uint32_t bit) -> unsigned int
constexpr auto bShiftu(std::uint16_t val, std::uint32_t bit)
-> unsigned int
{
return ((static_cast<std::uint32_t>(val >> bit) & 0x1U) > 0U) ? 1U :
0U;
Expand Down

0 comments on commit 7997cd4

Please sign in to comment.