From 0289b21c3b4d4d32b665e793dbf354ea34a23818 Mon Sep 17 00:00:00 2001 From: m-holger Date: Sun, 20 Nov 2022 13:56:03 +0000 Subject: Remove redundant QPDFObjectHandle::copyObject2 copyObject2 repeats a second time what new_obj = QPDFObjectHandle(obj->copy(true)) in shallowCopyInternal2 already did. --- include/qpdf/QPDFObjectHandle.hh | 1 - 1 file changed, 1 deletion(-) (limited to 'include') diff --git a/include/qpdf/QPDFObjectHandle.hh b/include/qpdf/QPDFObjectHandle.hh index 718952fe..de9f51e9 100644 --- a/include/qpdf/QPDFObjectHandle.hh +++ b/include/qpdf/QPDFObjectHandle.hh @@ -1634,7 +1634,6 @@ class QPDFObjectHandle bool first_level_only, bool stop_at_streams); void shallowCopyInternal1(QPDFObjectHandle& oh, bool first_level_only); - void copyObject2(std::set& visited); void shallowCopyInternal2(QPDFObjectHandle& oh); void copyObject( std::set& visited, -- cgit v1.2.3-70-g09d2