From f9056e732c23a1244746b5a64ffdf0fe526fd7f1 Mon Sep 17 00:00:00 2001 From: Michele Caini Date: Mon, 29 Jun 2020 15:45:55 +0200 Subject: [PATCH] resolve an issue with ICC (close #208) --- src/uvw/resource.hpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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; }