mirror of
https://gitlab.kitware.com/vtk/vtk-m
synced 2024-09-08 13:23:51 +00:00
Fix warning about __host__/__device__ on default constructor
The vtkm::exec::PointLocatorUniformGrid has a default constructor. It was "helpfully" declared as VTKM_EXEC_CONT, but apparently that is the wrong thing to do for constructors that are set to default.
This commit is contained in:
parent
6f75cd008b
commit
51fd4a117d
@ -48,8 +48,6 @@ public:
|
||||
typename vtkm::cont::ArrayHandle<vtkm::Id>::template ExecutionTypes<DeviceAdapter>::PortalConst;
|
||||
|
||||
|
||||
// TODO: should constructor be VTKM_CONT or VTKM_EXEC?
|
||||
VTKM_EXEC_CONT
|
||||
PointLocatorUniformGrid() = default;
|
||||
|
||||
VTKM_EXEC_CONT
|
||||
|
Loading…
Reference in New Issue
Block a user