remove warning in file due to non-reference exception catch

This commit is contained in:
nadavi 2019-04-15 17:25:33 -06:00
parent fbcea82e78
commit 6d9c2af795

@ -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;