From 1448d0d3b4d7fce6408c26002fa67bdbf9f99e2e Mon Sep 17 00:00:00 2001 From: Matt Larsen Date: Thu, 3 Mar 2016 16:04:04 -0500 Subject: [PATCH] Adding another typename --- vtkm/cont/tbb/internal/DeviceAdapterAlgorithmTBB.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vtkm/cont/tbb/internal/DeviceAdapterAlgorithmTBB.h b/vtkm/cont/tbb/internal/DeviceAdapterAlgorithmTBB.h index 83e680696..9810eb727 100644 --- a/vtkm/cont/tbb/internal/DeviceAdapterAlgorithmTBB.h +++ b/vtkm/cont/tbb/internal/DeviceAdapterAlgorithmTBB.h @@ -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); }