Commit 0307b49f authored by Max Kellermann's avatar Max Kellermann

event/ServerSocket: make OnAccept() noexcept

parent 413ab802
...@@ -122,7 +122,7 @@ public: ...@@ -122,7 +122,7 @@ public:
protected: protected:
virtual void OnAccept(UniqueSocketDescriptor fd, virtual void OnAccept(UniqueSocketDescriptor fd,
SocketAddress address, int uid) = 0; SocketAddress address, int uid) noexcept = 0;
}; };
#endif #endif
...@@ -261,7 +261,7 @@ private: ...@@ -261,7 +261,7 @@ private:
void OnDeferredBroadcast() noexcept; void OnDeferredBroadcast() noexcept;
void OnAccept(UniqueSocketDescriptor fd, void OnAccept(UniqueSocketDescriptor fd,
SocketAddress address, int uid) override; SocketAddress address, int uid) noexcept override;
}; };
extern const class Domain httpd_output_domain; extern const class Domain httpd_output_domain;
......
...@@ -130,7 +130,7 @@ HttpdOutput::OnDeferredBroadcast() noexcept ...@@ -130,7 +130,7 @@ HttpdOutput::OnDeferredBroadcast() noexcept
void void
HttpdOutput::OnAccept(UniqueSocketDescriptor fd, 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 /* the listener socket has become readable - a client has
connected */ connected */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment