aboutsummaryrefslogtreecommitdiff
path: root/src/input_common/input_poller.cpp
diff options
context:
space:
mode:
authorMorph <39850852+Morph1984@users.noreply.github.com>2022-01-10 19:44:19 -0500
committerMorph <39850852+Morph1984@users.noreply.github.com>2022-01-11 16:01:12 -0500
commit9ec57a502c03a7080ad73b31cbd5012ce1bcba84 (patch)
tree09d1be56d9cb49ec7bbe0ff3663c5f0b9fd8ca84 /src/input_common/input_poller.cpp
parent4b8518f4ced30857ea72fc3b075c0c1953a0c612 (diff)
common: bit_util: Add IsPow2 helper function
Makes use of std::has_single_bit() to check whether the value is a power of 2.
Diffstat (limited to 'src/input_common/input_poller.cpp')
0 files changed, 0 insertions, 0 deletions