Fix constexpr expression

This commit is contained in:
Ed Hennis
2025-09-05 20:28:12 -04:00
parent 6379363bad
commit 5335c04616

View File

@@ -637,7 +637,7 @@ inline std::string
to_short_string(base_uint<Bits, Tag> const& a)
{
// LCOV_EXCL_START
if constexpr (a.bytes <= 4)
if constexpr (base_uint<Bits, Tag>::bytes <= 4)
return to_string(a);
else
// LCOV_EXCL_STOP