From c7a4967d10fb9688f235baa8e57a1fb578f5387d Mon Sep 17 00:00:00 2001 From: Jay Berkenbilt Date: Thu, 8 Sep 2022 11:06:15 -0400 Subject: Change reset to disconnect and clarify comments I decided that it's actually fine to copy a direct object to another QPDF. Even if we eventually prevent a QPDFObject from having multiple parents, this could happen if an object is moved. --- libqpdf/QPDFValueProxy.cc | 1 - 1 file changed, 1 deletion(-) (limited to 'libqpdf/QPDFValueProxy.cc') diff --git a/libqpdf/QPDFValueProxy.cc b/libqpdf/QPDFValueProxy.cc index befaaf8b..c315128c 100644 --- a/libqpdf/QPDFValueProxy.cc +++ b/libqpdf/QPDFValueProxy.cc @@ -13,6 +13,5 @@ QPDFValueProxy::doResolve() void QPDFValueProxy::destroy() { - // See comments in reset() for why this isn't part of reset. value = QPDF_Destroyed::getInstance(); } -- cgit v1.2.3-54-g00ecf