[vbox-dev] A harddisk seems to be forced to have a parent, I don't understand the design ...
Christophe Devriese
christophe.devriese at gmail.com
Thu Feb 11 02:17:17 PST 2010
Seems to me that it does.
Christophe
On Thu, Feb 11, 2010 at 8:48 AM, Achim Hasenmueller <achim at sun.com> wrote:
> 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/d8190dfa/attachment-0003.html
More information about the vbox-dev
mailing list