aboutsummaryrefslogtreecommitdiffstats
path: root/libqpdf/QPDF_Array.cc
diff options
context:
space:
mode:
authorm-holger <m-holger@kubitscheck.org>2022-11-14 18:54:12 +0100
committerJay Berkenbilt <jberkenbilt@users.noreply.github.com>2022-11-20 18:07:22 +0100
commitdbc5f07b90954c18445ebe725b1a445745726864 (patch)
treeede2939e0ba2faf657e392b5ce413541e94aa832 /libqpdf/QPDF_Array.cc
parent34a6f8938f0e6d55eeb9f37c0ef23e02fec88932 (diff)
downloadqpdf-dbc5f07b90954c18445ebe725b1a445745726864.tar.zst
Rename QPDFObject::shallowCopy to copy
Add optional parameter shallow. Change logic errors to runtime errors.
Diffstat (limited to 'libqpdf/QPDF_Array.cc')
-rw-r--r--libqpdf/QPDF_Array.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libqpdf/QPDF_Array.cc b/libqpdf/QPDF_Array.cc
index 2cbdfcec..f33ad99d 100644
--- a/libqpdf/QPDF_Array.cc
+++ b/libqpdf/QPDF_Array.cc
@@ -29,7 +29,7 @@ QPDF_Array::create(SparseOHArray const& items)
}
std::shared_ptr<QPDFObject>
-QPDF_Array::shallowCopy()
+QPDF_Array::copy(bool shallow)
{
return create(elements);
}