Commit 0ae31eb6 authored by Robert Maynard's avatar Robert Maynard Committed by Kitware Robot

Merge topic 'probe_syntactic_disambiguation_warning'

a5cd7b2e Remove un-needed `.template` that caused warning in probe filter test
Acked-by: Kitware Robot's avatarKitware Robot <kwrobot@kitware.com>
Merge-request: !1507
parents eaf235ab a5cd7b2e
......@@ -154,13 +154,13 @@ private:
probe.SetFieldsToPass({ "pointdata", "celldata" });
auto output = probe.Execute(input);
TestResultArray(output.GetField("pointdata").GetData().template Cast<FieldArrayType>(),
TestResultArray(vtkm::cont::Cast<FieldArrayType>(output.GetField("pointdata").GetData()),
GetExpectedPointData());
TestResultArray(output.GetField("celldata").GetData().template Cast<FieldArrayType>(),
TestResultArray(vtkm::cont::Cast<FieldArrayType>(output.GetField("celldata").GetData()),
GetExpectedCellData());
TestResultArray(output.GetPointField("HIDDEN").GetData().template Cast<HiddenArrayType>(),
TestResultArray(vtkm::cont::Cast<HiddenArrayType>(output.GetPointField("HIDDEN").GetData()),
GetExpectedHiddenPoints());
TestResultArray(output.GetCellField("HIDDEN").GetData().template Cast<HiddenArrayType>(),
TestResultArray(vtkm::cont::Cast<HiddenArrayType>(output.GetCellField("HIDDEN").GetData()),
GetExpectedHiddenCells());
}
......@@ -176,13 +176,13 @@ private:
probe.SetFieldsToPass({ "pointdata", "celldata" });
auto output = probe.Execute(input);
TestResultArray(output.GetField("pointdata").GetData().template Cast<FieldArrayType>(),
TestResultArray(vtkm::cont::Cast<FieldArrayType>(output.GetField("pointdata").GetData()),
GetExpectedPointData());
TestResultArray(output.GetField("celldata").GetData().template Cast<FieldArrayType>(),
TestResultArray(vtkm::cont::Cast<FieldArrayType>(output.GetField("celldata").GetData()),
GetExpectedCellData());
TestResultArray(output.GetPointField("HIDDEN").GetData().template Cast<HiddenArrayType>(),
TestResultArray(vtkm::cont::Cast<HiddenArrayType>(output.GetPointField("HIDDEN").GetData()),
GetExpectedHiddenPoints());
TestResultArray(output.GetCellField("HIDDEN").GetData().template Cast<HiddenArrayType>(),
TestResultArray(vtkm::cont::Cast<HiddenArrayType>(output.GetCellField("HIDDEN").GetData()),
GetExpectedHiddenCells());
}
......@@ -198,13 +198,13 @@ private:
probe.SetFieldsToPass({ "pointdata", "celldata" });
auto output = probe.Execute(input);
TestResultArray(output.GetField("pointdata").GetData().template Cast<FieldArrayType>(),
TestResultArray(vtkm::cont::Cast<FieldArrayType>(output.GetField("pointdata").GetData()),
GetExpectedPointData());
TestResultArray(output.GetField("celldata").GetData().template Cast<FieldArrayType>(),
TestResultArray(vtkm::cont::Cast<FieldArrayType>(output.GetField("celldata").GetData()),
GetExpectedCellData());
TestResultArray(output.GetPointField("HIDDEN").GetData().template Cast<HiddenArrayType>(),
TestResultArray(vtkm::cont::Cast<HiddenArrayType>(output.GetPointField("HIDDEN").GetData()),
GetExpectedHiddenPoints());
TestResultArray(output.GetCellField("HIDDEN").GetData().template Cast<HiddenArrayType>(),
TestResultArray(vtkm::cont::Cast<HiddenArrayType>(output.GetCellField("HIDDEN").GetData()),
GetExpectedHiddenCells());
}
......
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