Changeset 37553 in vbox for trunk/src/VBox
- Timestamp:
- Jun 20, 2011 12:48:28 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-server/MachineImpl.cpp
r37547 r37553 6083 6083 /* Convert the options. */ 6084 6084 RTCList<CloneOptions_T> optList; 6085 if (options != NULL) 6086 { 6087 com::SafeArray<CloneOptions_T> sfaOpts(ComSafeArrayInArg(options)); 6088 for (size_t i = 0; i < sfaOpts.size(); ++i) 6089 optList.append(sfaOpts[i]); 6090 // optList = SafeArrayToRTCList<CloneOptions_T>(ComSafeArrayInArg(options)); 6091 } 6085 if (options != NULL) 6086 optList = com::SafeArray<CloneOptions_T>(ComSafeArrayInArg(options)).toList(); 6087 6092 6088 AssertReturn(!optList.contains(CloneOptions_Link), E_NOTIMPL); 6093 6089 AssertReturn(!(optList.contains(CloneOptions_KeepAllMACs) && optList.contains(CloneOptions_KeepNATMACs)), E_FAIL);
Note:
See TracChangeset
for help on using the changeset viewer.