VirtualBox

Changeset 24316 in vbox


Ignore:
Timestamp:
Nov 4, 2009 11:15:04 AM (15 years ago)
Author:
vboxsync
Message:

Compile fixes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/MachineImpl.cpp

    r24315 r24316  
    15101510        AssertRelease(id < RT_ELEMENTS(mHWData->mCpuIdStdLeafs));
    15111511        /* Invalidate leaf. */
    1512         mHWData->mCpuIdStdLeafs[id].ulId = -1
     1512        mHWData->mCpuIdStdLeafs[id].ulId = -1;
    15131513        break;
    15141514
     
    15351535}
    15361536
    1537 STDMETHODIMP Machine::removeAllCpuIdLeafs()
     1537STDMETHODIMP Machine::RemoveAllCpuIdLeafs()
    15381538{
    15391539    AutoCaller autoCaller(this);
     
    15471547    /* Invalidate all standard leafs. */
    15481548    for (unsigned i = 0; i < RT_ELEMENTS(mHWData->mCpuIdStdLeafs); i++)
    1549         mHWData->mCpuIdStdLeafs[id].ulId  = -1;
     1549        mHWData->mCpuIdStdLeafs[i].ulId  = -1;
    15501550
    15511551    /* Invalidate all extended leafs. */
    15521552    for (unsigned i = 0; i < RT_ELEMENTS(mHWData->mCpuIdExtLeafs); i++)
    1553         mHWData->mCpuIdExtLeafs[id].ulId = -1;
     1553        mHWData->mCpuIdExtLeafs[i].ulId = -1;
    15541554
    15551555    return S_OK;
Note: See TracChangeset for help on using the changeset viewer.

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