VirtualBox

Changeset 67642 in vbox for trunk/include/VBox


Ignore:
Timestamp:
Jun 27, 2017 3:38:21 PM (8 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
116416
Message:

Main: Modified Utf8Str::parseKeyValue implementation to never return npos when returning the last pair. That simplifies using the method and seemingly reflects the original author's intentions.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/com/string.h

    r67640 r67642  
    768768     *
    769769     * @returns offset of the @a a_rPairSeparator following the returned value.
    770      * @retval  npos is returned if there are no more key/value pairs, or if the
    771      *          final key/value pair isn't followed by a @a a_rPairSeparator.
     770     * @retval  npos is returned if there are no more key/value pairs.
    772771     *
    773772     * @param   a_rKey                  Reference to variable that should receive
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