diff options
author | m-holger <m-holger@kubitscheck.org> | 2022-08-10 14:16:06 +0200 |
---|---|---|
committer | m-holger <m-holger@kubitscheck.org> | 2022-09-01 18:08:45 +0200 |
commit | ae6e484e23e4f11878689be32bfcc6a28259b708 (patch) | |
tree | dbd76f13c1445ddcc58d39d890ed8233eb113200 /include/qpdf | |
parent | 356b582cec5be67cbf60ad64a1b2a7cab689dd77 (diff) | |
download | qpdf-ae6e484e23e4f11878689be32bfcc6a28259b708.tar.zst |
Change return type of QPDF::resolve to void
Diffstat (limited to 'include/qpdf')
-rw-r--r-- | include/qpdf/QPDF.hh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/qpdf/QPDF.hh b/include/qpdf/QPDF.hh index c187d53f..42097425 100644 --- a/include/qpdf/QPDF.hh +++ b/include/qpdf/QPDF.hh @@ -846,10 +846,10 @@ class QPDF friend class QPDFObjectHandle; private: - static std::shared_ptr<QPDFObject> + static void resolve(QPDF* qpdf, QPDFObjGen const& og) { - return qpdf->resolve(og); + qpdf->resolve(og); } }; friend class Resolver; @@ -1168,7 +1168,7 @@ class QPDF std::string const& description, QPDFObjGen const& exp_og, QPDFObjGen& og); - std::shared_ptr<QPDFObject> resolve(QPDFObjGen const& og); + void resolve(QPDFObjGen const& og); void resolveObjectsInStream(int obj_stream_number); void stopOnError(std::string const& message); QPDFObjectHandle reserveObjectIfNotExists(QPDFObjGen const& og); |