mirror of
https://github.com/matrix-construct/construct
synced 2025-03-16 22:41:46 +01:00
Compiler recommended to use std::terminate() rather than throw into noexcept.
This commit is contained in:
parent
6a5159499f
commit
214e5e7107
3 changed files with 3 additions and 3 deletions
|
@ -319,7 +319,7 @@ catch(const ircd::exception &e)
|
|||
e.what());
|
||||
|
||||
if(ircd::debugmode)
|
||||
throw;
|
||||
std::terminate();
|
||||
|
||||
return false;
|
||||
}
|
||||
|
|
|
@ -114,7 +114,7 @@ catch(const std::exception &e)
|
|||
log::critical("IRCd terminated: %s", e.what());
|
||||
|
||||
if(ircd::debugmode)
|
||||
throw;
|
||||
std::terminate();
|
||||
}
|
||||
|
||||
//
|
||||
|
|
|
@ -293,7 +293,7 @@ catch(const std::exception &e)
|
|||
e.what());
|
||||
|
||||
if(ircd::debugmode)
|
||||
throw;
|
||||
std::terminate();
|
||||
}
|
||||
|
||||
bool
|
||||
|
|
Loading…
Add table
Reference in a new issue