diff --git a/vtkm/internal/ArrayPortalValueReference.h b/vtkm/internal/ArrayPortalValueReference.h index e7f849d31..ea6790c2f 100644 --- a/vtkm/internal/ArrayPortalValueReference.h +++ b/vtkm/internal/ArrayPortalValueReference.h @@ -61,7 +61,7 @@ struct ArrayPortalValueReference VTKM_SUPPRESS_EXEC_WARNINGS VTKM_EXEC_CONT - operator ValueType(void) const { return this->Get(); } + operator ValueType() const { return this->Get(); } // Declaring Set as const seems a little weird because we are changing the value. But remember // that ArrayPortalReference is only a reference class. The reference itself does not change,