diff --git a/src/os/windows/crashlog_win.cpp b/src/os/windows/crashlog_win.cpp index 9029204486..e50c586420 100644 --- a/src/os/windows/crashlog_win.cpp +++ b/src/os/windows/crashlog_win.cpp @@ -56,7 +56,7 @@ #pragma GCC diagnostic ignored "-Wclobbered" #endif -static [[noreturn]] void ImmediateExitProcess(uint exit_code) +[[noreturn]] static void ImmediateExitProcess(uint exit_code) { /* TerminateProcess may fail in some special edge cases, fall back to ExitProcess in this case */ TerminateProcess(GetCurrentProcess(), exit_code);