Fix unused lambda capture warning

This commit is contained in:
Nyall Dawson 2024-01-14 08:50:36 +10:00 committed by Jakub Melka
parent eefde4edee
commit 52ce99d466
1 changed files with 1 additions and 1 deletions

View File

@ -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];