check fields of actual virtual type, not just the declared one

develop
Ben Lubar 2020-02-12 17:57:55 -06:00
parent b754192f2d
commit 24918e5513
No known key found for this signature in database
GPG Key ID: 92939677AB59EDA4
1 changed files with 2 additions and 1 deletions

@ -788,5 +788,6 @@ void Checker::check_virtual(const ToCheck & item)
return; return;
} }
check_struct(item); ToCheck virtual_item(item, "", item.ptr, virtual_identity::get(reinterpret_cast<virtual_ptr>(item.ptr)));
check_struct(virtual_item);
} }