VirtualBox

Changeset 32138 in vbox


Ignore:
Timestamp:
Aug 31, 2010 12:33:06 PM (14 years ago)
Author:
vboxsync
Message:

GuestImpl.cpp: AdditionsRunLevelType_None and AdditionsRunLevelType_System doesn't have the same type on XPCOM, so avoid the ternary operator.

File:
1 edited

Legend:

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

    r32086 r32138  
    15191519    if (mData.mAdditionsVersion.isEmpty())
    15201520    {
    1521         mData.mAdditionsRunLevel = aInterfaceVersion.isEmpty()
    1522                                  ? AdditionsRunLevelType_None
    1523                                  : AdditionsRunLevelType_System;
     1521        if (aInterfaceVersion.isEmpty())
     1522            mData.mAdditionsRunLevel = AdditionsRunLevelType_None;
     1523        else
     1524            mData.mAdditionsRunLevel = AdditionsRunLevelType_System;
    15241525    }
    15251526
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