VirtualBox

Changeset 101287 in vbox for trunk


Ignore:
Timestamp:
Sep 27, 2023 9:45:08 AM (16 months ago)
Author:
vboxsync
Message:

Main: Added IPlatformProperties::supportedGuestOSTypes() getter to return supported guest OS types for a specific platform. The IVirtualBox::guestOSTypes() getter in turn will return all guest OS types for all platforms [fix -- use the right vector initializer]. bugref:10384

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-all/PlatformPropertiesImpl.cpp

    r101284 r101287  
    722722   /* We only have all supported guest OS types as part of VBoxSVC, not in VBoxC itself. */
    723723#ifdef IN_VBOXSVC
    724     std::vector<PlatformArchitecture_T> vecArchitectures(mPlatformArchitecture);
     724    std::vector<PlatformArchitecture_T> vecArchitectures(1 /* Size */, mPlatformArchitecture);
    725725    return mParent->i_getSupportedGuestOSTypes(vecArchitectures, aSupportedGuestOSTypes);
    726726#else /* VBoxC */
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