mirror of
https://github.com/AxioDL/logvisor.git
synced 2025-12-10 05:57:50 +00:00
logvisor: Mark logvisorAbort as [[noreturn]]
All variants of logvisorAbort do what they say in their name -- abort. Given control isn't returned from this function, we can signify that it's a noreturn function
This commit is contained in:
@@ -21,7 +21,7 @@ extern "C" void logvisorBp();
|
||||
|
||||
namespace logvisor {
|
||||
|
||||
void logvisorAbort();
|
||||
[[noreturn]] void logvisorAbort();
|
||||
|
||||
#if _WIN32 && UNICODE
|
||||
#define LOG_UCS2 1
|
||||
|
||||
Reference in New Issue
Block a user