diff options
author | Jay Berkenbilt <ejb@ql.org> | 2022-02-04 17:03:52 +0100 |
---|---|---|
committer | Jay Berkenbilt <ejb@ql.org> | 2022-02-04 19:12:37 +0100 |
commit | abc300f05c00de72081203d89d9065b25f1ccb3c (patch) | |
tree | 3a679f3f3feb43a5ca3af536fb89832b0dd6e7b7 /include/qpdf/QPDFWriter.hh | |
parent | f0c2e0ef1e2b10b19fea60d5e6580910a92092e1 (diff) | |
download | qpdf-abc300f05c00de72081203d89d9065b25f1ccb3c.tar.zst |
Replace containers of PointerHolder with containers of std::shared_ptr
None of these are in the public API.
Diffstat (limited to 'include/qpdf/QPDFWriter.hh')
-rw-r--r-- | include/qpdf/QPDFWriter.hh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/qpdf/QPDFWriter.hh b/include/qpdf/QPDFWriter.hh index 8044d054..b434b033 100644 --- a/include/qpdf/QPDFWriter.hh +++ b/include/qpdf/QPDFWriter.hh @@ -35,6 +35,7 @@ #include <vector> #include <set> #include <map> +#include <memory> #include <qpdf/Constants.h> @@ -684,7 +685,7 @@ class QPDFWriter std::string extra_header_text; int encryption_dict_objid; std::string cur_data_key; - std::list<PointerHolder<Pipeline> > to_delete; + std::list<std::shared_ptr<Pipeline>> to_delete; Pl_Count* pipeline; std::list<QPDFObjectHandle> object_queue; std::map<QPDFObjGen, int> obj_renumber; |