VirtualBox

Changeset 24160 in vbox for trunk/src/VBox/Main/include


Ignore:
Timestamp:
Oct 29, 2009 2:25:53 PM (15 years ago)
Author:
vboxsync
Message:

Main: fixed fixupMedia() and reverted changes in r54089

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/include/MediumAttachmentImpl.h

    r24155 r24160  
    9696
    9797    /** Must be called from under this object's write lock. */
    98     void updateMedium(const ComObjPtr<Medium> &aMedium,
    99                       bool aImplicit,
    100                       const Guid &aMachineId = Guid::Empty)
     98    void updateMedium(const ComObjPtr<Medium> &aMedium, bool aImplicit)
    10199    {
    102100        m.backup();
    103         if (m->medium && aMachineId)
    104             m->medium->detachFrom(aMachineId);
    105101        m->medium = aMedium;
    106102        m->implicit = aImplicit;
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette