- Timestamp:
- Feb 9, 2024 10:55:37 AM (11 months ago)
- Location:
- trunk/src/VBox/Main
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/include/ovfreader.h
r101472 r103288 294 294 enum ResourceType_T 295 295 { 296 ResourceType_Invalid = 0, 296 297 ResourceType_Other = 1, 297 298 ResourceType_ComputerSystem = 2, … … 386 387 387 388 VirtualHardwareItem() 388 : fResourceRequired(false) 389 : resourceType(ResourceType_Invalid) 390 , fResourceRequired(false) 389 391 , fAutomaticAllocation(false) 390 392 , fAutomaticDeallocation(false) -
trunk/src/VBox/Main/xml/ovfreader.cpp
r101472 r103288 923 923 { 924 924 RTCString name = getItemName(); 925 if (resourceType == 0)925 if (resourceType == ResourceType_Invalid) 926 926 throw OVFLogicError(N_("Empty element ResourceType under %s element, line %d. see DMTF Schema Documentation %s"), 927 927 name.c_str(), m_iLineNumber, DTMF_SPECS_URI);
Note:
See TracChangeset
for help on using the changeset viewer.