From 55cfa1d8deeb9fd24a5ddf51af01e3450c73cb68 Mon Sep 17 00:00:00 2001 From: TrinityDevelopers Date: Fri, 1 Jul 2022 10:27:57 -0500 Subject: [PATCH] check both pure and pureintro for is_pure_virtual --- src/tpi/data.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tpi/data.rs b/src/tpi/data.rs index ed7d987..71b1e62 100644 --- a/src/tpi/data.rs +++ b/src/tpi/data.rs @@ -619,7 +619,7 @@ impl FieldAttributes { #[inline] pub fn is_pure_virtual(self) -> bool { - self.method_properties() == 0x05 + matches!(self.method_properties(), 0x05 | 0x06) } #[inline]