Fix incorrect function method modifier

This commit is contained in:
Gunther H. Weber 2021-10-04 20:25:50 -07:00
parent d767cb5b22
commit 57a27225c5

@ -136,7 +136,7 @@ inline bool IsThis(vtkm::Id flaggedIndex)
} // IsThis
/// Helper function to set a single array valye with CopySubRange to avoid pulling the array to the control environment
VTKM_EXEC_CONT
VTKM_CONT
inline void IdArraySetValue(vtkm::Id index, vtkm::Id value, IdArrayType& arr)
{ // IdArraySetValue
vtkm::cont::Algorithm::CopySubRange(
@ -151,7 +151,7 @@ inline void IdArraySetValue(vtkm::Id index, vtkm::Id value, IdArrayType& arr)
/// @param[in] newSize The new size the array should be changed to
/// @param[in] fillValue The value to be used to fill the array
template <typename ValueType>
static void ResizeVector(vtkm::cont::ArrayHandle<ValueType>& thearray,
void ResizeVector(vtkm::cont::ArrayHandle<ValueType>& thearray,
vtkm::Id newSize,
ValueType fillValue)
{
@ -182,7 +182,6 @@ template <typename T>
struct MaskedIndexFunctor
{
VTKM_EXEC_CONT
MaskedIndexFunctor() {}
VTKM_EXEC_CONT