Loading src/TNL/Pointers/SharedPointerHost.h +5 −0 Original line number Diff line number Diff line Loading @@ -208,6 +208,11 @@ class SharedPointer< Object, Devices::Host > : public SmartPointer this->free(); } void swap( ThisType& ptr2 ) { std::swap( this->pd, ptr2.pd ); } ~SharedPointer() { this->free(); Loading Loading
src/TNL/Pointers/SharedPointerHost.h +5 −0 Original line number Diff line number Diff line Loading @@ -208,6 +208,11 @@ class SharedPointer< Object, Devices::Host > : public SmartPointer this->free(); } void swap( ThisType& ptr2 ) { std::swap( this->pd, ptr2.pd ); } ~SharedPointer() { this->free(); Loading