VirtualBox

Changeset 77080 in vbox


Ignore:
Timestamp:
Jan 31, 2019 4:15:30 PM (6 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
128533
Message:

Guest Control/Main: Parameter conversion in GuestProcessStreamBlock::GetString() not needed; the map's key (Utf8Str) can handle that.

File:
1 edited

Legend:

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

    r77079 r77080  
    419419    try
    420420    {
    421         GuestCtrlStreamPairMapIterConst itPairs = mPairs.find(Utf8Str(pszKey)); /** @todo r=bird: this string conversion is excellent performance wise... */
     421        GuestCtrlStreamPairMapIterConst itPairs = mPairs.find(pszKey);
    422422        if (itPairs != mPairs.end())
    423423            return itPairs->second.mValue.c_str();
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