diff options
author | Jay Berkenbilt <ejb@ql.org> | 2022-02-06 17:40:24 +0100 |
---|---|---|
committer | Jay Berkenbilt <ejb@ql.org> | 2022-02-07 22:21:36 +0100 |
commit | b606e750eee1d0a22adeb7f804aa3f4bfe0085c2 (patch) | |
tree | 56c0454092f257a3e9aabd943f31adf8f1389620 /libqpdf/ClosedFileInputSource.cc | |
parent | b0f1f5c5d5bea8a10cfa8fd204651ceb9bf9df2b (diff) | |
download | qpdf-doc-check.tar.zst |
Update for clean compile with POINTERHOLDER_TRANSITION=2doc-check
Diffstat (limited to 'libqpdf/ClosedFileInputSource.cc')
-rw-r--r-- | libqpdf/ClosedFileInputSource.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libqpdf/ClosedFileInputSource.cc b/libqpdf/ClosedFileInputSource.cc index 8cdb3fad..5625002f 100644 --- a/libqpdf/ClosedFileInputSource.cc +++ b/libqpdf/ClosedFileInputSource.cc @@ -27,7 +27,7 @@ ClosedFileInputSource::before() { if (0 == this->m->fis.get()) { - this->m->fis = new FileInputSource(); + this->m->fis = make_pointer_holder<FileInputSource>(); this->m->fis->setFilename(this->m->filename.c_str()); this->m->fis->seek(this->m->offset, SEEK_SET); this->m->fis->setLastOffset(this->last_offset); |