0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-12-27 07:54:05 +01:00

ircd::exception: Avoid repeating the system_error message string.

This commit is contained in:
Jason Volk 2019-04-11 07:50:48 -07:00
parent 4500df4b78
commit 7794a92159
2 changed files with 2 additions and 2 deletions

View file

@ -170,7 +170,7 @@ ircd::make_system_error(const boost::system::error_code &ec)
{
return std::system_error
{
make_error_code(ec), ec.message()
make_error_code(ec)
};
}

View file

@ -338,7 +338,7 @@ try
}
catch(boost::system::system_error &e)
{
throw_system_error(e);
throw_system_error(e.code());
__builtin_unreachable();
}