Commit ddaa0df2 authored by Robert Maynard's avatar Robert Maynard
Browse files

ArrayHandleVirtualCoordinates now calls the proper parent constructor

Previously it was calling the ArrayHandle<T,StorageTagVirtual>
constructor and not the ArrayHandleVirtual constructor which
generated a warning with some compilers
parent 61e80037
...@@ -37,7 +37,8 @@ public: ...@@ -37,7 +37,8 @@ public:
template <typename T, typename S> template <typename T, typename S>
explicit ArrayHandleVirtualCoordinates(const vtkm::cont::ArrayHandle<T, S>& ah) explicit ArrayHandleVirtualCoordinates(const vtkm::cont::ArrayHandle<T, S>& ah)
: Superclass(vtkm::cont::make_ArrayHandleCast<ValueType>(ah)) : vtkm::cont::ArrayHandleVirtual<vtkm::Vec<vtkm::FloatDefault, 3>>(
vtkm::cont::make_ArrayHandleCast<ValueType>(ah))
{ {
} }
}; };
......
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