VirtualBox

Changeset 103288 in vbox for trunk/src/VBox/Main/include


Ignore:
Timestamp:
Feb 9, 2024 10:55:37 AM (13 months ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
161582
Message:

Main/ovfreader: Introduce ResourceType_Invalid for 0 and check against it instead of 0, bugref:3409

File:
1 edited

Legend:

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

    r101472 r103288  
    294294enum ResourceType_T
    295295{
     296    ResourceType_Invalid  = 0,
    296297    ResourceType_Other  = 1,
    297298    ResourceType_ComputerSystem = 2,
     
    386387
    387388    VirtualHardwareItem()
    388         : fResourceRequired(false)
     389        : resourceType(ResourceType_Invalid)
     390        , fResourceRequired(false)
    389391        , fAutomaticAllocation(false)
    390392        , fAutomaticDeallocation(false)
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