Permalink
Browse files

Fix priority_queue::remove_group_buffer using a file_stream with wron…

…g block factor.
  • Loading branch information...
1 parent 0e8b3d0 commit 0d22e105fe60219bdf6dcd0ebcea576c8f21d329 @Mortal Mortal committed Oct 4, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 tpie/priority_queue.inl
View
@@ -888,7 +888,7 @@ void priority_queue<T, Comparator, OPQType>::remove_group_buffer(group_type grou
assert(group < setting_k);
array<T> arr(static_cast<size_t>(group_size(group)));
- file_stream<T> data;
+ file_stream<T> data(block_factor);
data.open(group_data(group));
data.seek(group_start(group));
memory_size_type size = group_size(group);

0 comments on commit 0d22e10

Please sign in to comment.