diff options
author | Jay Berkenbilt <ejb@ql.org> | 2022-01-23 00:43:05 +0100 |
---|---|---|
committer | Jay Berkenbilt <ejb@ql.org> | 2022-01-30 19:11:03 +0100 |
commit | e48bfce93069d4bb720649bef3e9328f1e783e1e (patch) | |
tree | b0af3264f726bf3c6547415b7fdccf58eaafdf74 /include | |
parent | e4905983d2751b4b0f7ae535cdffee2be7fbf36f (diff) | |
download | qpdf-e48bfce93069d4bb720649bef3e9328f1e783e1e.tar.zst |
QPDFJob: convert PageSpec to used shared pointer
Diffstat (limited to 'include')
-rw-r--r-- | include/qpdf/QPDFJob.hh | 11 |
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 |