diff --git a/src/uvw/emitter.hpp b/src/uvw/emitter.hpp index bf723584..38dfc05a 100644 --- a/src/uvw/emitter.hpp +++ b/src/uvw/emitter.hpp @@ -18,7 +18,7 @@ namespace uvw { template class Emitter { struct BaseHandler { - virtual ~BaseHandler() = default; + virtual ~BaseHandler() noexcept = default; virtual bool empty() const noexcept = 0; }; diff --git a/src/uvw/fs.hpp b/src/uvw/fs.hpp index a4c18d76..aadf88f1 100644 --- a/src/uvw/fs.hpp +++ b/src/uvw/fs.hpp @@ -307,7 +307,7 @@ public: return std::shared_ptr{new FsReq{std::forward(args)...}}; } - ~FsReq() { + ~FsReq() noexcept { uv_fs_req_cleanup(get()); }