diff options
author | Max Kellermann <max@musicpd.org> | 2017-11-10 20:20:07 +0100 |
---|---|---|
committer | Max Kellermann <max@musicpd.org> | 2017-11-10 20:20:07 +0100 |
commit | 59a88369243ee74a28c38054c85e779883b6e32f (patch) | |
tree | c65460fc099739ec2d710dcf81680651b225772a /src/lib/curl/Global.cxx | |
parent | 9d4020501c622b52d26a1d0537ad867755476853 (diff) |
event/SocketMonitor: add "noexcept"
Diffstat (limited to 'src/lib/curl/Global.cxx')
-rw-r--r-- | src/lib/curl/Global.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/curl/Global.cxx b/src/lib/curl/Global.cxx index fac252f34..de9d36b0e 100644 --- a/src/lib/curl/Global.cxx +++ b/src/lib/curl/Global.cxx @@ -65,7 +65,7 @@ public: curl_socket_t s, int action, void *userp, void *socketp) noexcept; - virtual bool OnSocketReady(unsigned flags) override; + bool OnSocketReady(unsigned flags) noexcept override; private: static constexpr int FlagsToCurlCSelect(unsigned flags) { @@ -145,7 +145,7 @@ CurlSocket::SocketFunction(gcc_unused CURL *easy, } bool -CurlSocket::OnSocketReady(unsigned flags) +CurlSocket::OnSocketReady(unsigned flags) noexcept { assert(GetEventLoop().IsInside()); |