diff options
author | Jay Berkenbilt <ejb@ql.org> | 2022-02-01 19:37:31 +0100 |
---|---|---|
committer | Jay Berkenbilt <ejb@ql.org> | 2022-02-01 19:50:58 +0100 |
commit | b02d37bc0ae0b7af6077637f855be8579c768c22 (patch) | |
tree | a1dbfdd033951afcd41e7a7e36dfbaa0dd903776 /include/qpdf/auto_job_c_copy_att.hh | |
parent | bc4e2320e7dafea8b6d6b6150c808ed2a98d7d03 (diff) | |
download | qpdf-b02d37bc0ae0b7af6077637f855be8579c768c22.tar.zst |
Make QPDFArgParser accept const argv
This makes it much more convention to use the initializeFromArgv
functions since you can use string literals.
Diffstat (limited to 'include/qpdf/auto_job_c_copy_att.hh')
-rw-r--r-- | include/qpdf/auto_job_c_copy_att.hh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/qpdf/auto_job_c_copy_att.hh b/include/qpdf/auto_job_c_copy_att.hh index 8049dc6d..e372ab93 100644 --- a/include/qpdf/auto_job_c_copy_att.hh +++ b/include/qpdf/auto_job_c_copy_att.hh @@ -3,5 +3,5 @@ // Edits will be automatically overwritten if the build is // run in maintainer mode. // -QPDF_DLL CopyAttConfig* prefix(char const* parameter); -QPDF_DLL CopyAttConfig* password(char const* parameter); +QPDF_DLL CopyAttConfig* prefix(std::string const& parameter); +QPDF_DLL CopyAttConfig* password(std::string const& parameter); |