mirror of
https://github.com/qpdf/qpdf.git
synced 2025-01-22 22:58:33 +00:00
Cosmetic: use default constructor for QPDFObjGen
This commit is contained in:
parent
9a273c4098
commit
5796475a5e
@ -1458,7 +1458,7 @@ QPDF::getObjectCount()
|
|||||||
// fixDanglingReferences is called, all objects in the xref table
|
// fixDanglingReferences is called, all objects in the xref table
|
||||||
// will also be in obj_cache.
|
// will also be in obj_cache.
|
||||||
fixDanglingReferences();
|
fixDanglingReferences();
|
||||||
QPDFObjGen og(0, 0);
|
QPDFObjGen og;
|
||||||
if (!this->m->obj_cache.empty()) {
|
if (!this->m->obj_cache.empty()) {
|
||||||
og = (*(this->m->obj_cache.rbegin())).first;
|
og = (*(this->m->obj_cache.rbegin())).first;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user