From eda13b25182de5e2c0fbada3b8634965b78a9cf9 Mon Sep 17 00:00:00 2001 From: WerWolv Date: Fri, 5 Aug 2022 13:49:26 +0200 Subject: [PATCH] includes/type: Added [[sealed]] attribute to LEB128 type --- includes/type/leb128.pat | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/type/leb128.pat b/includes/type/leb128.pat index e9b7603..4a50f17 100644 --- a/includes/type/leb128.pat +++ b/includes/type/leb128.pat @@ -7,7 +7,7 @@ namespace type { struct LEB128 { u8 array[while($ == addressof(this) || std::mem::read_unsigned($-1, 1) & 0x80 != 0)] [[hidden]]; - } [[format("type::impl::format_leb128"), transform("type::impl::transform_leb128")]]; + } [[sealed, format("type::impl::format_leb128"), transform("type::impl::transform_leb128")]]; namespace impl {