Changeset 93480 in vbox for trunk/src/VBox/Main/src-server/ApplianceImpl.cpp
- Timestamp:
- Jan 28, 2022 4:09:52 PM (3 years ago)
- svn:sync-xref-src-repo-rev:
- 149597
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-server/ApplianceImpl.cpp
r93115 r93480 1828 1828 } 1829 1829 1830 /** 1831 * Private method; walks through the array of VirtualSystemDescriptionEntry entries 1832 * and returns the one matching the given index. 1833 */ 1834 const VirtualSystemDescriptionEntry* VirtualSystemDescription::i_findByIndex(const uint32_t aIndex) 1835 { 1836 vector<VirtualSystemDescriptionEntry>::const_iterator it; 1837 for (it = m->maDescriptions.begin(); 1838 it != m->maDescriptions.end(); 1839 ++it) 1840 { 1841 const VirtualSystemDescriptionEntry &d = *it; 1842 if (d.ulIndex == aIndex) 1843 return &d; 1844 } 1845 1846 return NULL; 1847 } 1848
Note:
See TracChangeset
for help on using the changeset viewer.