diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/qpdf/QPDF.hh | 2 | ||||
-rw-r--r-- | include/qpdf/QPDFWriter.hh | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/include/qpdf/QPDF.hh b/include/qpdf/QPDF.hh index a2820e4a..ac395358 100644 --- a/include/qpdf/QPDF.hh +++ b/include/qpdf/QPDF.hh @@ -1024,7 +1024,7 @@ class QPDF QPDF& qpdf_for_warning, Pipeline*& pipeline, int objid, int generation, QPDFObjectHandle& stream_dict, - std::vector<PointerHolder<Pipeline> >& heap); + std::vector<std::shared_ptr<Pipeline>>& heap); // Methods to support object copying void reserveObjects(QPDFObjectHandle foreign, ObjCopier& obj_copier, 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; |