diff options
author | Jay Berkenbilt <ejb@ql.org> | 2022-05-03 23:43:07 +0200 |
---|---|---|
committer | Jay Berkenbilt <ejb@ql.org> | 2022-05-04 00:31:22 +0200 |
commit | 59f3e09edfc71556208a866bb97ed9e173bd827f (patch) | |
tree | d182b59b18bae5214dab05e9f6a318f88e035ac3 /include/qpdf/Pl_Flate.hh | |
parent | d55c7ac570a2852547caaa78b73b9fab5494aea1 (diff) | |
download | qpdf-59f3e09edfc71556208a866bb97ed9e173bd827f.tar.zst |
Make Pipeline::write take an unsigned char const* (API change)
Diffstat (limited to 'include/qpdf/Pl_Flate.hh')
-rw-r--r-- | include/qpdf/Pl_Flate.hh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/qpdf/Pl_Flate.hh b/include/qpdf/Pl_Flate.hh index daf05836..ee797180 100644 --- a/include/qpdf/Pl_Flate.hh +++ b/include/qpdf/Pl_Flate.hh @@ -43,7 +43,7 @@ class QPDF_DLL_CLASS Pl_Flate: public Pipeline virtual ~Pl_Flate(); QPDF_DLL - virtual void write(unsigned char* data, size_t len); + virtual void write(unsigned char const* data, size_t len); QPDF_DLL virtual void finish(); @@ -61,7 +61,7 @@ class QPDF_DLL_CLASS Pl_Flate: public Pipeline private: QPDF_DLL_PRIVATE - void handleData(unsigned char* data, size_t len, int flush); + void handleData(unsigned char const* data, size_t len, int flush); QPDF_DLL_PRIVATE void checkError(char const* prefix, int error_code); QPDF_DLL_PRIVATE |