浏览代码

[Minor] Add noexcept qualifier

tags/3.3
Vsevolod Stakhov 2 年前
父节点
当前提交
a2f6a34d23
没有帐户链接到提交者的电子邮件
共有 1 个文件被更改,包括 3 次插入3 次删除
  1. 3
    3
      config.h.in

+ 3
- 3
config.h.in 查看文件

@@ -389,9 +389,9 @@ extern uint64_t ottery_rand_uint64(void);

#ifdef __cplusplus
#define RSPAMD_CONSTRUCTOR(f) \
static void f(void); \
struct f##_t_ { f##_t_(void) { f(); } }; static f##_t_ f##_; \
static void f(void)
static void f(void) noexcept; \
struct f##_t_ { f##_t_(void) noexcept { f(); } }; static f##_t_ f##_; \
static void f(void) noexcept
#else
#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 7)
#define RSPAMD_CONSTRUCTOR(f) \

正在加载...
取消
保存