1
0
Fork 0

declare differently

This commit is contained in:
Jan Steemann 2015-08-13 00:17:37 +02:00
parent 5838e8c8aa
commit 99ac624ab0
1 changed files with 2 additions and 1 deletions

View File

@ -354,7 +354,8 @@ namespace triagens {
// partition the work into some buckets
{
auto partitioner = [&] (size_t chunk) -> void {
std::function<void(size_t)> partitioner;
partitioner = [&] (size_t chunk) -> void {
try {
std::unordered_map<uint64_t, DocumentsPerBucket> partitions;
size_t lower = chunk * chunkSize;