noexcept specifiers on destructors

This commit is contained in:
Michele Caini 2016-07-28 15:50:29 +02:00
parent 9729a4700d
commit 184dc33aa5
2 changed files with 2 additions and 2 deletions

View File

@ -18,7 +18,7 @@ namespace uvw {
template<typename T>
class Emitter {
struct BaseHandler {
virtual ~BaseHandler() = default;
virtual ~BaseHandler() noexcept = default;
virtual bool empty() const noexcept = 0;
};

View File

@ -307,7 +307,7 @@ public:
return std::shared_ptr<FsReq>{new FsReq{std::forward<Args>(args)...}};
}
~FsReq() {
~FsReq() noexcept {
uv_fs_req_cleanup(get<uv_fs_t>());
}