VirtualBox

Ignore:
Timestamp:
Feb 2, 2010 8:37:36 PM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
57185
Message:

Main: get rid of Backupable<>::hasActualChanges and the operator== in all the machine data structures which it required; nuke obsolete Shareable.h

File:
1 edited

Legend:

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

    r26167 r26171  
    429429 *  @note Locks this object for writing.
    430430 */
    431 bool AudioAdapter::rollback()
     431void AudioAdapter::rollback()
    432432{
    433433    /* sanity */
    434434    AutoCaller autoCaller(this);
    435     AssertComRCReturn (autoCaller.rc(), false);
     435    AssertComRCReturnVoid(autoCaller.rc());
    436436
    437437    AutoWriteLock alock(this COMMA_LOCKVAL_SRC_POS);
    438438
    439     bool changed = false;
    440 
    441     if (mData.isBackedUp())
    442     {
    443         /* we need to check all data to see whether anything will be changed
    444          * after rollback */
    445         changed = mData.hasActualChanges();
    446         mData.rollback();
    447     }
    448 
    449     return changed;
     439    mData.rollback();
    450440}
    451441
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