[generator] Add o5m chunk reading

This commit is contained in:
Anatoly Serdtcev 2019-11-03 10:42:08 +03:00 committed by Maksim Andrianov
parent 7c4744f0ae
commit 22c08911d2

View file

@ -292,7 +292,7 @@ ProcessorOsmElementsFromO5M::ProcessorOsmElementsFromO5M(
: m_stream(stream)
, m_dataset([&](uint8_t * buffer, size_t size) {
return m_stream.Read(reinterpret_cast<char *>(buffer), size);
}, 1024 * 1024)
}, 1024 * 1024)
, m_taskCount{taskCount}
, m_taskId{taskId}
, m_chunkSize{chunkSize}