- Timestamp:
- Oct 10, 2020 1:07:10 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-server/VirtualBoxImpl.cpp
r86501 r86514 936 936 /** @todo r=bird: should we really do notifications for duplicates? 937 937 * ((Medium *)pHardDisk != (Medium *)pHardDiskActual) 938 * The problem with that, though, is that for the children we don't quite know 939 * which are duplicates and which aren't. The above initFromSettings is 940 * essentially a merge operation now, so in the duplicate case, we may just 941 * have added a new (grand)child. */ 938 * The problem with that, though, is that for the children we don't quite know 939 * which are duplicates and which aren't. The above initFromSettings is 940 * essentially poforming a merge operation now, so in the duplicate case, we may 941 * just have added a new (grand)child. Why don't we just pass uIdsForNotify 942 * down to initFromSettings, that'll save us this extra walking? */ 942 943 943 944 uIdsForNotify.push_back(std::pair<Guid, DeviceType_T>(pHardDiskActual->i_getId(), DeviceType_HardDisk));
Note:
See TracChangeset
for help on using the changeset viewer.