mirror of
https://gitlab.kitware.com/vtk/vtk-m
synced 2024-09-19 18:45:43 +00:00
Adding another typename
This commit is contained in:
parent
23e801da55
commit
1448d0d3b4
@ -316,7 +316,7 @@ public:
|
||||
VTKM_EXEC_EXPORT
|
||||
T Add(vtkm::Id index, const T& value) const
|
||||
{
|
||||
IteratorType::pointer temp = &(*(Iterators.GetBegin()+index));
|
||||
typename IteratorType::pointer temp = &(*(Iterators.GetBegin()+index));
|
||||
T* lockedValue = temp;
|
||||
return vtkmAtomicAdd(lockedValue, value);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user