VirtualBox

Changeset 85314 in vbox for trunk/include


Ignore:
Timestamp:
Jul 13, 2020 5:24:18 PM (5 years ago)
Author:
vboxsync
Message:

VBox/com/string.h: Corrected Utf8Str::cloneToEx implementation to actually not throw anything. bugref:9790

File:
1 edited

Legend:

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

    r85308 r85314  
    12841284     * @returns S_OK or E_OUTOFMEMORY (COM status codes).
    12851285     */
    1286     HRESULT cloneToEx(BSTR *pbstr) const
    1287     {
    1288         if (!pbstr)
    1289             return S_OK;
    1290         Bstr bstr(*this);
    1291         return bstr.detachToEx(pbstr);
    1292     }
     1286    HRESULT cloneToEx(BSTR *pbstr) const RT_NOEXCEPT;
    12931287
    12941288    /**
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