diff --git a/Modules/Core/Common/src/itkMultiThreaderBase.cxx b/Modules/Core/Common/src/itkMultiThreaderBase.cxx index 124ca51e179..34bfbb60f29 100644 --- a/Modules/Core/Common/src/itkMultiThreaderBase.cxx +++ b/Modules/Core/Common/src/itkMultiThreaderBase.cxx @@ -510,8 +510,7 @@ MultiThreaderBase::ParallelizeArray(SizeValueType firstIndex, ITK_THREAD_RETURN_FUNCTION_CALL_CONVENTION MultiThreaderBase::ParallelizeArrayHelper(void * arg) { - using WorkUnitInfo = MultiThreaderBase::WorkUnitInfo; - auto * workUnitInfo = static_cast(arg); + auto * workUnitInfo = static_cast(arg); ThreadIdType workUnitID = workUnitInfo->WorkUnitID; ThreadIdType workUnitCount = workUnitInfo->NumberOfWorkUnits; auto * acParams = static_cast(workUnitInfo->UserData); @@ -565,8 +564,7 @@ MultiThreaderBase::ParallelizeImageRegion(unsigned int ITK_THREAD_RETURN_FUNCTION_CALL_CONVENTION MultiThreaderBase::ParallelizeImageRegionHelper(void * arg) { - using WorkUnitInfo = MultiThreaderBase::WorkUnitInfo; - auto * workUnitInfo = static_cast(arg); + auto * workUnitInfo = static_cast(arg); ThreadIdType workUnitID = workUnitInfo->WorkUnitID; ThreadIdType workUnitCount = workUnitInfo->NumberOfWorkUnits; auto * rnc = static_cast(workUnitInfo->UserData);