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:
parent
4500df4b78
commit
7794a92159
2 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
};
|
||||
}
|
||||
|
||||
|
|
|
@ -338,7 +338,7 @@ try
|
|||
}
|
||||
catch(boost::system::system_error &e)
|
||||
{
|
||||
throw_system_error(e);
|
||||
throw_system_error(e.code());
|
||||
__builtin_unreachable();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue