diff options
author | Jay Berkenbilt <ejb@ql.org> | 2022-01-26 23:18:03 +0100 |
---|---|---|
committer | Jay Berkenbilt <ejb@ql.org> | 2022-01-30 19:11:03 +0100 |
commit | c62ab2ee9f153aa623ed5ffab764f453941da4c7 (patch) | |
tree | a3ccc60592fcd7e4a723d9c4306d626562ce0179 /include/qpdf/auto_job_c_copy_att.hh | |
parent | 03f3369f35b2303166e8d36547c8a0aba6626c1b (diff) | |
download | qpdf-c62ab2ee9f153aa623ed5ffab764f453941da4c7.tar.zst |
QPDFJob: use pointers instead of references for Config
Why? The main methods that create them return smart pointers so that
users can initialize them when needed, which you can't do with
references. Returning pointers instead of references makes for a more
uniform interface.
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 bae11e9d..8049dc6d 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(char const* parameter); +QPDF_DLL CopyAttConfig* password(char const* parameter); |