We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1b3d51f commit 5883346Copy full SHA for 5883346
core/include/detray/utils/bit_encoder.hpp
@@ -60,7 +60,7 @@ class bit_encoder {
60
///
61
/// @note undefined behaviour for mask == 0 which we should not have.
62
DETRAY_HOST_DEVICE
63
- static consteval int extract_shift(value_t mask) noexcept {
+ static constexpr int extract_shift(value_t mask) noexcept {
64
return __builtin_ctzll(mask);
65
}
66
};
0 commit comments