mirror of https://gitee.com/bigwinds/arangodb
declare differently
This commit is contained in:
parent
5838e8c8aa
commit
99ac624ab0
|
@ -354,7 +354,8 @@ namespace triagens {
|
||||||
|
|
||||||
// partition the work into some buckets
|
// partition the work into some buckets
|
||||||
{
|
{
|
||||||
auto partitioner = [&] (size_t chunk) -> void {
|
std::function<void(size_t)> partitioner;
|
||||||
|
partitioner = [&] (size_t chunk) -> void {
|
||||||
try {
|
try {
|
||||||
std::unordered_map<uint64_t, DocumentsPerBucket> partitions;
|
std::unordered_map<uint64_t, DocumentsPerBucket> partitions;
|
||||||
size_t lower = chunk * chunkSize;
|
size_t lower = chunk * chunkSize;
|
||||||
|
|
Loading…
Reference in New Issue