0
0
Fork 0
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:
Jason Volk 2017-09-12 10:04:00 -07:00
parent 6a5159499f
commit 214e5e7107
3 changed files with 3 additions and 3 deletions

View file

@ -319,7 +319,7 @@ catch(const ircd::exception &e)
e.what());
if(ircd::debugmode)
throw;
std::terminate();
return false;
}

View file

@ -114,7 +114,7 @@ catch(const std::exception &e)
log::critical("IRCd terminated: %s", e.what());
if(ircd::debugmode)
throw;
std::terminate();
}
//

View file

@ -293,7 +293,7 @@ catch(const std::exception &e)
e.what());
if(ircd::debugmode)
throw;
std::terminate();
}
bool