event/ServerSocket: make OnAccept() noexcept
This commit is contained in:
parent
413ab80295
commit
0307b49f43
|
@ -122,7 +122,7 @@ public:
|
|||
|
||||
protected:
|
||||
virtual void OnAccept(UniqueSocketDescriptor fd,
|
||||
SocketAddress address, int uid) = 0;
|
||||
SocketAddress address, int uid) noexcept = 0;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
|
|
@ -261,7 +261,7 @@ private:
|
|||
void OnDeferredBroadcast() noexcept;
|
||||
|
||||
void OnAccept(UniqueSocketDescriptor fd,
|
||||
SocketAddress address, int uid) override;
|
||||
SocketAddress address, int uid) noexcept override;
|
||||
};
|
||||
|
||||
extern const class Domain httpd_output_domain;
|
||||
|
|
|
@ -130,7 +130,7 @@ HttpdOutput::OnDeferredBroadcast() noexcept
|
|||
|
||||
void
|
||||
HttpdOutput::OnAccept(UniqueSocketDescriptor fd,
|
||||
SocketAddress address, gcc_unused int uid)
|
||||
SocketAddress address, gcc_unused int uid) noexcept
|
||||
{
|
||||
/* the listener socket has become readable - a client has
|
||||
connected */
|
||||
|
|
Loading…
Reference in New Issue