0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-06-10 22:18:54 +02:00

ircd::server:🔗 Add noexcept on handlers.

This commit is contained in:
Jason Volk 2019-05-02 02:24:13 -07:00
parent 1352ddf56c
commit ab61b38ad0
2 changed files with 4 additions and 4 deletions

View file

@ -43,13 +43,13 @@ struct ircd::server::link
const_buffer process_read_next(const const_buffer &, tag &, bool &done);
bool process_read(const_buffer &);
void handle_readable_success();
void handle_readable(const error_code &);
void handle_readable(const error_code &) noexcept;
void wait_readable();
const_buffer process_write_next(const const_buffer &);
bool process_write(tag &);
void handle_writable_success();
void handle_writable(const error_code &);
void handle_writable(const error_code &) noexcept;
void wait_writable();
void handle_close(std::exception_ptr);

View file

@ -1843,7 +1843,7 @@ ircd::server::link::wait_writable()
void
__attribute__((stack_protect))
ircd::server::link::handle_writable(const error_code &ec)
try
noexcept try
{
using std::errc;
@ -2016,7 +2016,7 @@ ircd::server::link::wait_readable()
void
__attribute__((stack_protect))
ircd::server::link::handle_readable(const error_code &ec)
try
noexcept try
{
using std::errc;