mirror of
https://github.com/matrix-construct/construct
synced 2024-11-29 02:02:38 +01:00
ircd: Exception macros need complete scope to be used outside ircd::
This commit is contained in:
parent
229ac50be4
commit
e602b2375d
1 changed files with 3 additions and 3 deletions
|
@ -130,7 +130,7 @@ struct name \
|
|||
name(const char *const &fmt = " ", args&&... ap) noexcept \
|
||||
:parent{generate_skip} \
|
||||
{ \
|
||||
generate(#name, fmt, va_rtti{std::forward<args>(ap)...}); \
|
||||
generate(#name, fmt, ircd::va_rtti{std::forward<args>(ap)...}); \
|
||||
} \
|
||||
\
|
||||
name(generate_skip_t) noexcept \
|
||||
|
@ -148,7 +148,7 @@ struct name \
|
|||
name(const char *const &fmt = " ", args&&... ap) noexcept \
|
||||
:parent{generate_skip} \
|
||||
{ \
|
||||
generate(fmt, va_rtti{std::forward<args>(ap)...}); \
|
||||
generate(fmt, ircd::va_rtti{std::forward<args>(ap)...}); \
|
||||
} \
|
||||
\
|
||||
name(generate_skip_t = {}) noexcept \
|
||||
|
@ -172,7 +172,7 @@ struct name \
|
|||
name(const char *const &fmt = " ", args&&... ap) noexcept(RB_DEBUG_LEVEL) \
|
||||
:parent{generate_skip} \
|
||||
{ \
|
||||
generate(#name, fmt, va_rtti{std::forward<args>(ap)...}); \
|
||||
generate(#name, fmt, ircd::va_rtti{std::forward<args>(ap)...}); \
|
||||
ircd::assertion(*this); \
|
||||
} \
|
||||
\
|
||||
|
|
Loading…
Reference in a new issue