diff --git a/algorithms_cpp/include/embb/algorithms/internal/partition-inl.h b/algorithms_cpp/include/embb/algorithms/internal/partition-inl.h index efd7e4c..231ccb4 100644 --- a/algorithms_cpp/include/embb/algorithms/internal/partition-inl.h +++ b/algorithms_cpp/include/embb/algorithms/internal/partition-inl.h @@ -67,7 +67,8 @@ template const ChunkDescriptor BlockSizePartitioner::operator[]( size_t const & index) const { - typedef std::iterator_traits::difference_type difference_type; + typedef typename std::iterator_traits::difference_type + difference_type; RAI first_new(first_); first_new += static_cast(chunk_size_ * index); RAI last_new(first_new);