From b9cd693a5b36b8b0246822cb97386792045179ec Mon Sep 17 00:00:00 2001 From: Jay Berkenbilt Date: Sat, 22 Jan 2022 18:57:01 -0500 Subject: 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. --- include/qpdf/QPDFJob.hh | 2 -- 1 file changed, 2 deletions(-) (limited to 'include') 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 #include #include -#include #include #include @@ -387,7 +386,6 @@ class QPDFJob std::ostream* cout; std::ostream* cerr; unsigned long encryption_status; - std::shared_ptr ap; }; std::shared_ptr m; }; -- cgit v1.2.3-54-g00ecf