0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-12-26 15:33:54 +01:00

modules/magick: Move noreturn attribute to declaration.

This commit is contained in:
Jason Volk 2020-02-01 21:52:46 -08:00
parent 5d7e039cc1
commit 819e5ea08e

View file

@ -16,8 +16,8 @@ namespace ircd::magick
struct display; struct display;
struct transform; struct transform;
static void handle_exception(const ExceptionType, const char *, const char *); [[noreturn]] static void handle_exception(const ExceptionType, const char *, const char *);
static void handle_fatal(const ExceptionType, const char *, const char *) noexcept; [[noreturn]] static void handle_fatal(const ExceptionType, const char *, const char *) noexcept;
static void handle_error(const ExceptionType, const char *, const char *) noexcept; static void handle_error(const ExceptionType, const char *, const char *) noexcept;
static void handle_warning(const ExceptionType, const char *, const char *) noexcept; static void handle_warning(const ExceptionType, const char *, const char *) noexcept;
static void handle_log(const ExceptionType, const char *) noexcept; static void handle_log(const ExceptionType, const char *) noexcept;
@ -911,7 +911,7 @@ noexcept
}; };
} }
[[noreturn]] void void
ircd::magick::handle_fatal(const ExceptionType type, ircd::magick::handle_fatal(const ExceptionType type,
const char *const reason, const char *const reason,
const char *const description) const char *const description)
@ -930,7 +930,7 @@ noexcept
ircd::terminate(); ircd::terminate();
} }
[[noreturn]] void void
ircd::magick::handle_exception(const ExceptionType type, ircd::magick::handle_exception(const ExceptionType type,
const char *const reason, const char *const reason,
const char *const description) const char *const description)