VirtualBox

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


Ignore:
Timestamp:
Apr 9, 2014 9:20:00 AM (11 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
93202
Message:

ConsoleImpl: SafeVMPtr, AutoVMCaller mRC init.

File:
1 edited

Legend:

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

    r50945 r51008  
    331331    {
    332332    public:
    333         AutoVMCallerBase(Console *aThat) : mThat(aThat), mRC(S_OK)
     333        AutoVMCallerBase(Console *aThat) : mThat(aThat), mRC(E_FAIL)
    334334        {
    335335            Assert(aThat);
     
    428428        typedef AutoVMCallerBase<taQuiet, true> Base;
    429429    public:
    430         SafeVMPtrBase(Console *aThat) : Base(aThat), mRC(S_OK), mpUVM(NULL)
     430        SafeVMPtrBase(Console *aThat) : Base(aThat), mRC(E_FAIL), mpUVM(NULL)
    431431        {
    432432            if (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