diff options
author | m-holger <m-holger@kubitscheck.org> | 2022-11-14 18:54:12 +0100 |
---|---|---|
committer | Jay Berkenbilt <jberkenbilt@users.noreply.github.com> | 2022-11-20 18:07:22 +0100 |
commit | dbc5f07b90954c18445ebe725b1a445745726864 (patch) | |
tree | ede2939e0ba2faf657e392b5ce413541e94aa832 /libqpdf/qpdf/QPDF_Operator.hh | |
parent | 34a6f8938f0e6d55eeb9f37c0ef23e02fec88932 (diff) | |
download | qpdf-dbc5f07b90954c18445ebe725b1a445745726864.tar.zst |
Rename QPDFObject::shallowCopy to copy
Add optional parameter shallow. Change logic errors to runtime errors.
Diffstat (limited to 'libqpdf/qpdf/QPDF_Operator.hh')
-rw-r--r-- | libqpdf/qpdf/QPDF_Operator.hh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libqpdf/qpdf/QPDF_Operator.hh b/libqpdf/qpdf/QPDF_Operator.hh index 767c0ba0..f420b793 100644 --- a/libqpdf/qpdf/QPDF_Operator.hh +++ b/libqpdf/qpdf/QPDF_Operator.hh @@ -8,7 +8,7 @@ class QPDF_Operator: public QPDFValue public: virtual ~QPDF_Operator() = 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; |