Commit 51fd4a11 authored by Kenneth Moreland's avatar Kenneth Moreland
Browse files

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.
parent 6f75cd00
......@@ -48,8 +48,6 @@ public:
typename vtkm::cont::ArrayHandle<vtkm::Id>::template ExecutionTypes<DeviceAdapter>::PortalConst;
// TODO: should constructor be VTKM_CONT or VTKM_EXEC?
PointLocatorUniformGrid() = default;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment