WIP: safer callbacks

This commit is contained in:
Michele Caini 2016-06-23 18:45:50 +02:00
parent 8714fcf24a
commit f7a131c8c5

View File

@ -55,6 +55,7 @@ protected:
U* get() const noexcept { return reinterpret_cast<U*>(handle.get()); }
uv_loop_t* parent() const noexcept { return pLoop->loop.get(); }
void reset() noexcept { ref = nullptr; }
public:
explicit Resource(const Resource &) = delete;