VirtualBox

Changeset 67646 in vbox for trunk/src/VBox/Main


Ignore:
Timestamp:
Jun 27, 2017 4:37:41 PM (8 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
116420
Message:

glue/string.cpp: parseKeyValue: Use new find method.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/glue/string.cpp

    r67642 r67646  
    199199             call as offStart to the next call. */
    200200    size_t offEnd;
    201     while (   a_offStart == (offEnd = find(a_rPairSeparator.c_str(), a_offStart))
     201    while (   a_offStart == (offEnd = find(&a_rPairSeparator, a_offStart))
    202202           && offEnd != npos)
    203203        a_offStart++;
     
    206206       ASSUMES npos value returned by find when the substring is not found is
    207207       really high. */
    208     size_t offKeyValueSep = find(a_rKeyValueSeparator.c_str(), a_offStart);
     208    size_t offKeyValueSep = find(&a_rKeyValueSeparator, a_offStart);
    209209    if (offKeyValueSep < offEnd)
    210210    {
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