diff options
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 a4c52c92..69e819c9 100644 --- a/libqpdf/ClosedFileInputSource.cc +++ b/libqpdf/ClosedFileInputSource.cc @@ -26,7 +26,7 @@ void ClosedFileInputSource::before() { if (0 == this->m->fis.get()) { - this->m->fis = make_pointer_holder<FileInputSource>(); + this->m->fis = std::make_shared<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); |