summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/qpdf/QPDFJob.hh4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/qpdf/QPDFJob.hh b/include/qpdf/QPDFJob.hh
index 1763efac..46ec3d5a 100644
--- a/include/qpdf/QPDFJob.hh
+++ b/include/qpdf/QPDFJob.hh
@@ -192,8 +192,8 @@ class QPDFJob
public:
QPDF_DLL
PagesConfig& pageSpec(std::string const& filename,
- char const* password,
- std::string const& range);
+ std::string const& range,
+ char const* password = nullptr);
# include <qpdf/auto_job_c_pages.hh>