VirtualBox

Changeset 51026 in vbox for trunk


Ignore:
Timestamp:
Apr 10, 2014 7:08:16 AM (11 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
93233
Message:

ConsoleImpl: SafeVMPtr mRC priority.

File:
1 edited

Legend:

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

    r51008 r51026  
    447447
    448448        /** The combined result of Console::addVMCaller() and Console::safeVMPtrRetainer */
    449         HRESULT rc() const { return SUCCEEDED(mRC)? Base::rc(): mRC; }
     449        HRESULT rc() const { return Base::isOk()? mRC: Base::rc(); }
    450450        /** Shortcut to SUCCEEDED(rc()) */
    451451        bool isOk() const { return SUCCEEDED(mRC) && Base::isOk(); }
Note: See TracChangeset for help on using the changeset viewer.

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