Commit 6d9c2af7 authored by Nickolas Davis's avatar Nickolas Davis 🥑

remove warning in file due to non-reference exception catch

parent fbcea82e
......@@ -95,7 +95,7 @@ void multiblock_processing(TaskQueue<vtkm::cont::MultiBlock>& queue)
const auto& field = block.GetField("Gradients", vtkm::cont::Field::Association::POINTS);
(void)field;
}
catch (vtkm::cont::ErrorBadValue)
catch (const vtkm::cont::ErrorBadValue& error)
{
std::cerr << "gradient filter failed!" << std::endl;
break;
......
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