VirtualBox

Changeset 24563 in vbox for trunk/src/VBox/Main


Ignore:
Timestamp:
Nov 10, 2009 7:07:00 PM (15 years ago)
Author:
vboxsync
Message:

Main/MediumImpl: dead code

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

Legend:

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

    r24509 r24563  
    28692869
    28702870    return &ref.llSnapshotIds.front();
    2871 }
    2872 
    2873 /**
    2874  * Internal method to check whether the medium is attached to the given machine. Must have caller + locking!
    2875  * @return
    2876  */
    2877 bool Medium::isAttachedTo(const Guid &aMachineId)
    2878 {
    2879     BackRefList::iterator it =
    2880         std::find_if(m->backRefs.begin(), m->backRefs.end(),
    2881                         BackRef::EqualsTo(aMachineId));
    2882     return it != m->backRefs.end() && it->fInCurState;
    28832871}
    28842872
  • trunk/src/VBox/Main/include/MediumImpl.h

    r24345 r24563  
    176176    const Guid* getFirstMachineBackrefSnapshotId() const;
    177177
    178     bool isAttachedTo(const Guid &aMachineId);
    179 
    180178    /**
    181179     * Shortcut to VirtualBoxBaseWithTypedChildrenNEXT::dependentChildren().
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