aboutsummaryrefslogtreecommitdiffstats
path: root/libqpdf/qpdf/Pl_TIFFPredictor.hh
diff options
context:
space:
mode:
authorJay Berkenbilt <ejb@ql.org>2022-04-09 20:35:56 +0200
committerJay Berkenbilt <ejb@ql.org>2022-04-09 23:33:29 +0200
commita68703b07e928be0eeb909c0e777e13e88cbf86d (patch)
treed63d53a9facc83d72cb82f400d1ae8cce6a2115f /libqpdf/qpdf/Pl_TIFFPredictor.hh
parentae819b5318bf0a0a21b80d6269ef73ed8123d5d6 (diff)
downloadqpdf-a68703b07e928be0eeb909c0e777e13e88cbf86d.tar.zst
Replace PointerHolder with std::shared_ptr in library sources only
(patrepl and cleanpatch are my own utilities) patrepl s/PointerHolder/std::shared_ptr/g {include,libqpdf}/qpdf/*.hh patrepl s/PointerHolder/std::shared_ptr/g libqpdf/*.cc patrepl s/make_pointer_holder/std::make_shared/g libqpdf/*.cc patrepl s/make_array_pointer_holder/QUtil::make_shared_array/g libqpdf/*.cc patrepl s,qpdf/std::shared_ptr,qpdf/PointerHolder, **/*.cc **/*.hh git restore include/qpdf/PointerHolder.hh cleanpatch ./format-code
Diffstat (limited to 'libqpdf/qpdf/Pl_TIFFPredictor.hh')
-rw-r--r--libqpdf/qpdf/Pl_TIFFPredictor.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/libqpdf/qpdf/Pl_TIFFPredictor.hh b/libqpdf/qpdf/Pl_TIFFPredictor.hh
index 90c9ac05..f14b0f00 100644
--- a/libqpdf/qpdf/Pl_TIFFPredictor.hh
+++ b/libqpdf/qpdf/Pl_TIFFPredictor.hh
@@ -35,7 +35,7 @@ class Pl_TIFFPredictor: public Pipeline
unsigned int bytes_per_row;
unsigned int samples_per_pixel;
unsigned int bits_per_sample;
- PointerHolder<unsigned char> cur_row;
+ std::shared_ptr<unsigned char> cur_row;
size_t pos;
};