VirtualBox

Changeset 56096 in vbox for trunk/src


Ignore:
Timestamp:
May 27, 2015 12:48:13 PM (10 years ago)
Author:
vboxsync
Message:

pr6522. small refining

Location:
trunk/src/VBox/Main
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-client/ConsoleImpl2.cpp

    r56088 r56096  
    27442744
    27452745            std::list<Utf8Str> audioPropertyNamesList;
    2746             std::map<Utf8Str, Utf8Str> audioProperties;
    27472746            for (size_t i = 0; i < audioProps.size(); ++i)
    27482747            {
     
    27512750                hrc = audioAdapter->GetProperty(audioProps[i], bstrValue.asOutParam());
    27522751                Utf8Str strKey(audioProps[i]);
    2753                 audioProperties[strKey] = Utf8Str(bstrValue);
    27542752                InsertConfigString(pCfgAudioSettings, strKey.c_str(), bstrValue);
    27552753            }
  • trunk/src/VBox/Main/src-server/AudioAdapterImpl.cpp

    r56088 r56096  
    3939    AudioDriverType_T mAudioDriver;
    4040    AudioControllerType_T mAudioController;
    41     std::map<com::Utf8Str, com::Utf8Str>  properties;
     41    settings::StringsMap  properties;
    4242};
    4343
     
    439439    mData->m->mAudioDriver = data.driverType;
    440440
    441     std::map<com::Utf8Str, com::Utf8Str>::const_iterator cit = data.properties.begin();
     441    settings::StringsMap::const_iterator cit = data.properties.begin();
    442442    while(cit!=data.properties.end())
    443443    {
     
    467467    data.driverType = mData->m->mAudioDriver;
    468468
    469     std::map<com::Utf8Str, com::Utf8Str>::const_iterator cit = mData->m->properties.begin();
     469    settings::StringsMap::const_iterator cit = mData->m->properties.begin();
    470470    while(cit!=mData->m->properties.end())
    471471    {
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