1
0
mirror of https://github.com/paboyle/Grid.git synced 2024-11-10 07:55:35 +00:00

Hadrons: code cleaning

This commit is contained in:
Antonin Portelli 2018-09-07 20:40:55 +01:00
parent 02c4ccf621
commit cb6c548e21

View File

@ -209,9 +209,7 @@ typename DiskVectorBase<T>::RwAccessHelper DiskVectorBase<T>::operator[](const u
HADRONS_ERROR(Size, "index out of range");
}
RwAccessHelper h(*this, i);
return h;
return RwAccessHelper(*this, i);
}
template <typename T>