VirtualBox

Changeset 1960 in vbox for trunk/include


Ignore:
Timestamp:
Apr 5, 2007 4:35:31 PM (18 years ago)
Author:
vboxsync
Message:

Added alloc method to Utf8Str class

File:
1 edited

Legend:

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

    r1220 r1960  
    246246     *  a null object will be created.
    247247     */
    248     Utf8Str (size_t aSize) : str (NULL)
     248    alloc (size_t aSize)
    249249    {
    250250        if (aSize)
     
    258258                str [0] = 0;
    259259        }
     260    }
     261
     262    Utf8Str (size_t aSize) : str (NULL)
     263    {
     264        alloc(aSize);
    260265    }
    261266
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