diff --git a/imr/fundamental.hh b/imr/fundamental.hh index 59a4526471..54e5368c6c 100644 --- a/imr/fundamental.hh +++ b/imr/fundamental.hh @@ -241,7 +241,7 @@ struct buffer { { ctx.template size_of() } noexcept -> size_t; }) static view make_view(const uint8_t* in, const Context& context) noexcept { - auto ptr = reinterpret_cast(in); + auto ptr = reinterpret_cast(in); return bytes_view(ptr, context.template size_of()); }