Changeset 51567 in vbox for trunk/src/VBox/Main
- Timestamp:
- Jun 6, 2014 11:51:41 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-server/MachineImpl.cpp
r51512 r51567 6577 6577 AutoReadLock alock(this COMMA_LOCKVAL_SRC_POS); 6578 6578 6579 SafeIfaceArray<IPCIDeviceAttachment> assignments(mHWData->mPCIDeviceAssignments); 6580 aPCIDeviceAssignments.resize(assignments.size()); 6581 for (size_t i = 0; i < assignments.size(); ++i) 6582 aPCIDeviceAssignments[i] = assignments[i]; 6579 aPCIDeviceAssignments.resize(mHWData->mPCIDeviceAssignments.size()); 6580 6581 size_t i = 0; 6582 for (std::list<ComObjPtr<PCIDeviceAttachment> >::const_iterator it = mHWData->mPCIDeviceAssignments.begin(); 6583 it != mHWData->mPCIDeviceAssignments.end(); 6584 ++i, ++it) 6585 (*it).queryInterfaceTo(aPCIDeviceAssignments[i].asOutParam()); 6586 6583 6587 return S_OK; 6584 6588 }
Note:
See TracChangeset
for help on using the changeset viewer.