VirtualBox

Changeset 38049 in vbox for trunk/src/VBox/Main/src-server


Ignore:
Timestamp:
Jul 19, 2011 8:16:57 AM (14 years ago)
Author:
vboxsync
Message:

Main-CloneVM: no tmp necessary

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-server/MachineImplCloneVM.cpp

    r38048 r38049  
    878878            {
    879879                const MEDIUMTASK &mt = mtc.chain.first();
    880                 ComPtr<IMedium> pMedium = mt.pMedium;
    881                 IMedium *pTmp = pMedium;
    882                 ComObjPtr<Medium> pLMedium = static_cast<Medium*>(pTmp);
     880                ComObjPtr<Medium> pLMedium = static_cast<Medium*>((IMedium*)mt.pMedium);
    883881                if (pLMedium.isNull())
    884882                    throw E_POINTER;
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