Commit f7797d82 authored by Jonas Hahnfeld's avatar Jonas Hahnfeld
Browse files

Consistently mark destructors with VECCORE_ATT_HOST_DEVICE

See previous commit; the compiler warning was a bit misleading, which
is why I missed this before.
parent df737d9e
......@@ -184,6 +184,7 @@ AOS3D<T> &AOS3D<T>::operator=(AOS3D<T> const &rhs)
}
template <typename T>
VECCORE_ATT_HOST_DEVICE
AOS3D<T>::~AOS3D()
{
Deallocate();
......
......@@ -112,6 +112,7 @@ Array<Type>::Array(Type *data, int initSize) : fData(data), fSize(initSize), fAl
}
template <typename Type>
VECCORE_ATT_HOST_DEVICE
Array<Type>::~Array()
{
#ifndef VECCORE_CUDA_DEVICE_COMPILATION
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment