Avoid using an if_constexpr macro
commitd06ed618d356a713292de95f0ab2c6017c305e17
authorChris Robinson <chris.kcat@gmail.com>
Tue, 22 Feb 2022 11:03:44 +0000 (22 03:03 -0800)
committerChris Robinson <chris.kcat@gmail.com>
Tue, 22 Feb 2022 11:03:44 +0000 (22 03:03 -0800)
treead84c64155c782cd13158db020d623b3ea5f370b
parent72ddb6351e1102b104ab45bdbb3c7cfb9cb49d08
Avoid using an if_constexpr macro

It doesn't actually use if constexpr, and compilers are smart enough to
optimize. Some functions can use templates instead.
alc/backends/opensl.cpp
alc/backends/wave.cpp
common/albit.h
common/opthelpers.h
core/hrtf.cpp