Commit 1b725190 by Tobias Fuchs

algorithms_cpp: fixed compiler error in gcc in partitioner

parent 4a15a669
...@@ -67,7 +67,8 @@ template<typename RAI> ...@@ -67,7 +67,8 @@ template<typename RAI>
const ChunkDescriptor<RAI> const ChunkDescriptor<RAI>
BlockSizePartitioner<RAI>::operator[]( BlockSizePartitioner<RAI>::operator[](
size_t const & index) const { size_t const & index) const {
typedef std::iterator_traits<RAI>::difference_type difference_type; typedef typename std::iterator_traits<RAI>::difference_type
difference_type;
RAI first_new(first_); RAI first_new(first_);
first_new += static_cast<difference_type>(chunk_size_ * index); first_new += static_cast<difference_type>(chunk_size_ * index);
RAI last_new(first_new); RAI last_new(first_new);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment