Commit 5796475a5e0df5d2e30e8351ab6a09dcebbd1585
1 parent
9a273c40
Cosmetic: use default constructor for QPDFObjGen
Showing
1 changed file
with
1 additions
and
1 deletions
libqpdf/QPDF.cc
| @@ -1458,7 +1458,7 @@ QPDF::getObjectCount() | @@ -1458,7 +1458,7 @@ QPDF::getObjectCount() | ||
| 1458 | // fixDanglingReferences is called, all objects in the xref table | 1458 | // fixDanglingReferences is called, all objects in the xref table |
| 1459 | // will also be in obj_cache. | 1459 | // will also be in obj_cache. |
| 1460 | fixDanglingReferences(); | 1460 | fixDanglingReferences(); |
| 1461 | - QPDFObjGen og(0, 0); | 1461 | + QPDFObjGen og; |
| 1462 | if (!this->m->obj_cache.empty()) { | 1462 | if (!this->m->obj_cache.empty()) { |
| 1463 | og = (*(this->m->obj_cache.rbegin())).first; | 1463 | og = (*(this->m->obj_cache.rbegin())).first; |
| 1464 | } | 1464 | } |