0
0
Fork 0
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:
Jason Volk 2018-02-02 18:56:30 -08:00
parent 229ac50be4
commit e602b2375d

View file

@ -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); \
} \
\