fixed: add virtual dtor to class with virtual members

This commit is contained in:
Arne Morten Kvarving 2024-11-11 12:13:15 +01:00
parent 8dd83de26c
commit be93ce7163

View File

@ -40,6 +40,8 @@ public:
GPUSender(const OwnerOverlapCopyCommunicationType& cpuOwnerOverlapCopy) : m_cpuOwnerOverlapCopy(cpuOwnerOverlapCopy){}
virtual ~GPUSender() = default;
/**
* @brief copyOwnerToAll will copy source to the CPU, then call OwnerOverlapCopyCommunicationType::copyOwnerToAll on
* the copied data, and copy the result back to the GPU