aboutsummaryrefslogtreecommitdiffstats
path: root/qpdf
diff options
context:
space:
mode:
authorJay Berkenbilt <ejb@ql.org>2022-01-23 00:57:01 +0100
committerJay Berkenbilt <ejb@ql.org>2022-01-30 19:11:03 +0100
commitb9cd693a5b36b8b0246822cb97386792045179ec (patch)
tree60a4906d69648592c213ea513d37e54aea43329a /qpdf
parentd526d4c17f9de11c4a7a2cd5f27e7e4419d9b33a (diff)
downloadqpdf-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 'qpdf')
-rw-r--r--qpdf/qpdf.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/qpdf/qpdf.cc b/qpdf/qpdf.cc
index 77fb8cb1..04cd2244 100644
--- a/qpdf/qpdf.cc
+++ b/qpdf/qpdf.cc
@@ -1,6 +1,7 @@
#include <qpdf/QPDFJob.hh>
#include <qpdf/QTC.hh>
#include <qpdf/QUtil.hh>
+#include <qpdf/QPDFArgParser.hh>
#include <cstdio>
#include <cstdlib>