Skip to content
Snippets Groups Projects
Commit d5e633fc authored by Marc-André Lureau's avatar Marc-André Lureau Committed by Paolo Bonzini
Browse files

object: add extra sanity checks


Type system checked that children class_size >= parent class_size, but
not instances. Fix that.

Signed-off-by: default avatarMarc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: default avatarPhilippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20200110153039.1379601-2-marcandre.lureau@redhat.com>
Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
parent dd680bf3
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment