aboutsummaryrefslogtreecommitdiffstats
path: root/libqpdf/qpdf/QPDF_InlineImage.hh
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/QPDF_InlineImage.hh
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/QPDF_InlineImage.hh')
-rw-r--r--libqpdf/qpdf/QPDF_InlineImage.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/libqpdf/qpdf/QPDF_InlineImage.hh b/libqpdf/qpdf/QPDF_InlineImage.hh
index b7bea9c7..d6d62efd 100644
--- a/libqpdf/qpdf/QPDF_InlineImage.hh
+++ b/libqpdf/qpdf/QPDF_InlineImage.hh
@@ -8,7 +8,7 @@ class QPDF_InlineImage: public QPDFValue
public:
virtual ~QPDF_InlineImage() = default;
static std::shared_ptr<QPDFObject> create(std::string const& val);
- virtual std::shared_ptr<QPDFObject> shallowCopy();
+ virtual std::shared_ptr<QPDFObject> copy(bool shallow = false);
virtual std::string unparse();
virtual JSON getJSON(int json_version);
std::string getVal() const;