mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-08-19 12:39:11 +00:00
Codechange: Replace old non-standard attributes with C++17/20 standard attributes.
This commit is contained in:
@@ -27,7 +27,7 @@
|
||||
* @param s Format string.
|
||||
* @note Function does not return.
|
||||
*/
|
||||
void NORETURN FatalErrorI(const std::string &msg)
|
||||
[[noreturn]] void FatalErrorI(const std::string &msg)
|
||||
{
|
||||
fmt::print(stderr, "settingsgen: FATAL: {}\n", msg);
|
||||
exit(1);
|
||||
|
Reference in New Issue
Block a user