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/FileInputSource.cc | |
parent | b0f1f5c5d5bea8a10cfa8fd204651ceb9bf9df2b (diff) | |
download | qpdf-b606e750eee1d0a22adeb7f804aa3f4bfe0085c2.tar.zst |
Update for clean compile with POINTERHOLDER_TRANSITION=2doc-check
Diffstat (limited to 'libqpdf/FileInputSource.cc')
-rw-r--r-- | libqpdf/FileInputSource.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libqpdf/FileInputSource.cc b/libqpdf/FileInputSource.cc index f4f37783..951b1270 100644 --- a/libqpdf/FileInputSource.cc +++ b/libqpdf/FileInputSource.cc @@ -27,7 +27,7 @@ FileInputSource::FileInputSource() : void FileInputSource::setFilename(char const* filename) { - this->m = new Members(true); + this->m = PointerHolder<Members>(new Members(true)); this->m->filename = filename; this->m->file = QUtil::safe_fopen(filename, "rb"); } @@ -36,7 +36,7 @@ void FileInputSource::setFile( char const* description, FILE* filep, bool close_file) { - this->m = new Members(close_file); + this->m = PointerHolder<Members>(new Members(close_file)); this->m->filename = description; this->m->file = filep; this->seek(0, SEEK_SET); |