uv_type: make ~uv_type() destructor protected (#303)
This commit is contained in:
parent
77b91ff98e
commit
8830320c60
@ -71,6 +71,9 @@ struct uv_type {
|
|||||||
return &resource;
|
return &resource;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
protected:
|
||||||
|
~uv_type() = default;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
std::shared_ptr<loop> owner;
|
std::shared_ptr<loop> owner;
|
||||||
U resource;
|
U resource;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user