aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJay Berkenbilt <ejb@ql.org>2022-01-23 00:43:05 +0100
committerJay Berkenbilt <ejb@ql.org>2022-01-30 19:11:03 +0100
commite48bfce93069d4bb720649bef3e9328f1e783e1e (patch)
treeb0af3264f726bf3c6547415b7fdccf58eaafdf74 /include
parente4905983d2751b4b0f7ae535cdffee2be7fbf36f (diff)
downloadqpdf-e48bfce93069d4bb720649bef3e9328f1e783e1e.tar.zst
QPDFJob: convert PageSpec to used shared pointer
Diffstat (limited to 'include')
-rw-r--r--include/qpdf/QPDFJob.hh11
1 files changed, 3 insertions, 8 deletions
diff --git a/include/qpdf/QPDFJob.hh b/include/qpdf/QPDFJob.hh
index 7d0bc3ee..d153c243 100644
--- a/include/qpdf/QPDFJob.hh
+++ b/include/qpdf/QPDFJob.hh
@@ -123,16 +123,11 @@ class QPDFJob
{
PageSpec(std::string const& filename,
char const* password,
- char const* range) :
- filename(filename),
- password(password),
- range(range)
- {
- }
+ std::string const& range);
std::string filename;
- char const* password;
- char const* range;
+ std::shared_ptr<char> password;
+ std::string range;
};
struct RotationSpec