diff --git a/src/common/u128.h b/src/common/u128.h index 71e4bcde..1aa8a76f 100644 --- a/src/common/u128.h +++ b/src/common/u128.h @@ -34,7 +34,7 @@ struct u128 { u64 upper = 0; template - bool Bit() { + bool Bit() const { static_assert(bit_position < 128); if constexpr (bit_position < 64) { return Common::Bit(lower);