diff options
author | Jay Berkenbilt <ejb@ql.org> | 2022-02-06 19:53:16 +0100 |
---|---|---|
committer | Jay Berkenbilt <ejb@ql.org> | 2022-02-07 23:38:22 +0100 |
commit | 40f1946df8acb0bb7fefdc3ab31f6285bb11d032 (patch) | |
tree | 87776a2a5f628bca1f4a1a0f46c4544aac7749e2 /include | |
parent | dd4f30226f3d4738e198dfcb944ce4cdc7e50a86 (diff) | |
download | qpdf-40f1946df8acb0bb7fefdc3ab31f6285bb11d032.tar.zst |
Replace PointerHolder arrays with shared_ptr arrays where possible
Replace PointerHolder arrays wherever it can be done without breaking ABI.
Diffstat (limited to 'include')
-rw-r--r-- | include/qpdf/Pl_Flate.hh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/qpdf/Pl_Flate.hh b/include/qpdf/Pl_Flate.hh index 5e63f1ac..cec76ca7 100644 --- a/include/qpdf/Pl_Flate.hh +++ b/include/qpdf/Pl_Flate.hh @@ -24,6 +24,7 @@ #include <qpdf/Pipeline.hh> #include <functional> +#include <memory> class Pl_Flate: public Pipeline { @@ -73,7 +74,7 @@ class Pl_Flate: public Pipeline Members(size_t out_bufsize, action_e action); Members(Members const&); - PointerHolder<unsigned char> outbuf; + std::shared_ptr<unsigned char> outbuf; size_t out_bufsize; action_e action; bool initialized; |