VirtualBox

Changeset 23341 in vbox


Ignore:
Timestamp:
Sep 25, 2009 3:43:46 PM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
52858
Message:

Main: opimization for r52856

Location:
trunk/src/VBox/Main
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/HostImpl.cpp

    r23339 r23341  
    345345    while (!m->llChildren.empty())
    346346    {
    347         ComObjPtr<HostUSBDeviceFilter> pChild = m->llChildren.front();
    348         m->llChildren.pop_front();
     347        ComObjPtr<HostUSBDeviceFilter> &pChild = m->llChildren.front();
    349348        pChild->uninit();
    350349    }
  • trunk/src/VBox/Main/SnapshotImpl.cpp

    r23257 r23341  
    157157        for (it = llParent.begin();
    158158            it != llParent.end();
    159             ++ it)
     159            ++it)
    160160        {
    161161            Snapshot *pParentsChild = *it;
  • trunk/src/VBox/Main/include/HostImpl.h

    r23279 r23341  
    133133#endif
    134134
    135 #ifdef VBOX_WITH_USB
    136     /** specialization for IHostUSBDeviceFilter */
    137 //     ComObjPtr<HostUSBDeviceFilter> getDependentChild(IHostUSBDeviceFilter *aFilter);
    138 #endif /* VBOX_WITH_USB */
    139 
    140135#ifdef VBOX_WITH_RESOURCE_USAGE_API
    141136    void registerMetrics (PerformanceCollector *aCollector);
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