mirror of https://github.com/JakubMelka/PDF4QT.git
Fix unused lambda capture warning
This commit is contained in:
parent
eefde4edee
commit
52ce99d466
|
@ -252,7 +252,7 @@ bool PDFOptimizer::performMergeIdenticalObjects()
|
|||
std::vector<QByteArray> serializedObjects(objects.size());
|
||||
|
||||
PDFIntegerRange<size_t> range(0, objects.size());
|
||||
auto serializeEntry = [&, this](size_t index)
|
||||
auto serializeEntry = [&objects, &serializedObjects](size_t index)
|
||||
{
|
||||
const PDFObjectStorage::Entry& entry = objects[index];
|
||||
|
||||
|
|
Loading…
Reference in New Issue