VirtualBox

Ignore:
Timestamp:
Jul 7, 2020 5:01:10 PM (4 years ago)
Author:
vboxsync
Message:

iprt/cdefs.h: Make RT*DECL, DECLCALLBACK*, and DECLINLINE imply nothrow (either attribute or declspec). Introducing DECL_INLINE_THROW for inline functions throwing stuff. Renamed RT_NO_THROW* to RT_NOTHROW*. ++ bugref:9794

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VBoxBugReport/VBoxBugReport.h

    r84030 r85086  
    3232 */
    3333
    34 /* @todo not sure if using a separate namespace would be beneficial */
     34/** @todo not sure if using a separate namespace would be beneficial */
    3535
    3636#include <iprt/path.h>
     
    4848/* Base */
    4949
    50 DECLINLINE(void) handleRtError(int rc, const char *pszMsgFmt, ...)
     50DECL_INLINE_THROW(void) handleRtError(int rc, const char *pszMsgFmt, ...)
    5151{
    5252    if (RT_FAILURE(rc))
     
    6161}
    6262
    63 DECLINLINE(void) handleComError(HRESULT hr, const char *pszMsgFmt, ...)
     63DECL_INLINE_THROW(void) handleComError(HRESULT hr, const char *pszMsgFmt, ...)
    6464{
    6565    if (FAILED(hr))
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