resolve an issue with ICC (close #208)

This commit is contained in:
Michele Caini 2020-06-29 15:45:55 +02:00
parent 60614d32b8
commit f9056e732c

View File

@ -39,9 +39,7 @@ protected:
public: public:
explicit Resource(ConstructorAccess ca, std::shared_ptr<Loop> ref) explicit Resource(ConstructorAccess ca, std::shared_ptr<Loop> ref)
: UnderlyingType<T, U>{ca, std::move(ref)}, : UnderlyingType<T, U>{ca, std::move(ref)}
Emitter<T>{},
std::enable_shared_from_this<T>{}
{ {
this->get()->data = this; this->get()->data = this;
} }