diff options
author | Jay Berkenbilt <ejb@ql.org> | 2022-01-23 00:57:01 +0100 |
---|---|---|
committer | Jay Berkenbilt <ejb@ql.org> | 2022-01-30 19:11:03 +0100 |
commit | b9cd693a5b36b8b0246822cb97386792045179ec (patch) | |
tree | 60a4906d69648592c213ea513d37e54aea43329a /include | |
parent | d526d4c17f9de11c4a7a2cd5f27e7e4419d9b33a (diff) | |
download | qpdf-b9cd693a5b36b8b0246822cb97386792045179ec.tar.zst |
QPDFJob: allocate QPDFArgParser on stack
The previous commits have removed all references to memory from
QPDFArgParser from QPDFJob. This commit removes the constraint that
QPDFArgParser remain in scope. This is a prerequisite to allowing JSON
as an alternative way to initialize QPDFJob and to initialize it
directly using a public API.
Diffstat (limited to 'include')
-rw-r--r-- | include/qpdf/QPDFJob.hh | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/qpdf/QPDFJob.hh b/include/qpdf/QPDFJob.hh index 4192be66..de51dc57 100644 --- a/include/qpdf/QPDFJob.hh +++ b/include/qpdf/QPDFJob.hh @@ -26,7 +26,6 @@ #include <qpdf/Constants.h> #include <qpdf/QPDF.hh> #include <qpdf/QPDFPageObjectHelper.hh> -#include <qpdf/QPDFArgParser.hh> #include <memory> #include <string> @@ -387,7 +386,6 @@ class QPDFJob std::ostream* cout; std::ostream* cerr; unsigned long encryption_status; - std::shared_ptr<QPDFArgParser> ap; }; std::shared_ptr<Members> m; }; |