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;
|
||||
}
|
||||
|
||||
protected:
|
||||
~uv_type() = default;
|
||||
|
||||
private:
|
||||
std::shared_ptr<loop> owner;
|
||||
U resource;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user