[vbox-dev] A harddisk seems to be forced to have a parent, I don't understand the design ...

Achim Hasenmueller achim at sun.com
Thu Feb 11 07:48:34 GMT 2010


The assertion does not trigger if mParent == NULL, right?

Achim.

On Feb 10, 2010, at 13:12 , Christophe Devriese wrote:

> from VBoxMedium.cpp:138 :
> 
>         /* Adjust the parent if its possible */
>         CMedium parent = mMedium.GetParent();
>         Assert (!parent.isNull() || mParent == NULL);
> 
> Why can't a harddisk Imedium have a NULL parent ?
> 
> Cheers,
> 
> Christophe
> _______________________________________________
> vbox-dev mailing list
> vbox-dev at virtualbox.org
> http://vbox.innotek.de/mailman/listinfo/vbox-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.virtualbox.org/pipermail/vbox-dev/attachments/20100211/cc3c8d44/attachment.html>


More information about the vbox-dev mailing list