From 1b7251904882f83024a74b386e9f5660f78867cc Mon Sep 17 00:00:00 2001 From: Tobias Fuchs Date: Tue, 31 Mar 2015 13:02:11 +0200 Subject: [PATCH] algorithms_cpp: fixed compiler error in gcc in partitioner --- algorithms_cpp/include/embb/algorithms/internal/partition-inl.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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); -- libgit2 0.26.0