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:
Kenneth Moreland 2018-06-28 05:05:54 +02:00
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