2
1
mirror of https://github.com/qpdf/qpdf.git synced 2024-05-29 16:30:53 +00:00

Cosmetic: use default constructor for QPDFObjGen

This commit is contained in:
Jay Berkenbilt 2022-09-14 07:35:32 -04:00
parent 9a273c4098
commit 5796475a5e

View File

@ -1458,7 +1458,7 @@ QPDF::getObjectCount()
// fixDanglingReferences is called, all objects in the xref table
// will also be in obj_cache.
fixDanglingReferences();
QPDFObjGen og(0, 0);
QPDFObjGen og;
if (!this->m->obj_cache.empty()) {
og = (*(this->m->obj_cache.rbegin())).first;
}