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]