diff --git a/src/uvw/resource.hpp b/src/uvw/resource.hpp index 53c8adb2..b6b4b0e8 100644 --- a/src/uvw/resource.hpp +++ b/src/uvw/resource.hpp @@ -39,9 +39,7 @@ protected: public: explicit Resource(ConstructorAccess ca, std::shared_ptr ref) - : UnderlyingType{ca, std::move(ref)}, - Emitter{}, - std::enable_shared_from_this{} + : UnderlyingType{ca, std::move(ref)} { this->get()->data = this; }