2
1
mirror of https://github.com/qpdf/qpdf.git synced 2024-06-01 01:40:51 +00:00

Remove superfluous call to resetObjGen

This commit is contained in:
Jay Berkenbilt 2022-09-07 14:16:27 -04:00
parent 4422588d7d
commit 9dcd25a06e

View File

@ -2134,7 +2134,6 @@ QPDF::updateCache(
object->setObjGen(this, og);
if (isCached(og)) {
auto& cache = m->obj_cache[og];
cache.object->resetObjGen();
cache.object->assign(object);
cache.end_before_space = end_before_space;
cache.end_after_space = end_after_space;