VirtualBox

Changeset 67735 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Jun 30, 2017 1:40:00 PM (8 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
116589
Message:

Main: Added Global::getOSTypeIndexFromId (nit).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-all/Global.cpp

    r67734 r67735  
    538538/* static */ uint32_t Global::getOSTypeIndexFromId(const char *pszId)
    539539{
    540     for (size_t i = 0; i < RT_ELEMENTS(Global::sOSTypes); ++i)
     540    for (size_t i = 0; i < RT_ELEMENTS(sOSTypes); ++i)
    541541        if (!RTStrICmp(pszId, Global::sOSTypes[i].id))
    542542            return (uint32_t)i;
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette