diff options
Diffstat (limited to 'libqpdf/QPDF.cc')
-rw-r--r-- | libqpdf/QPDF.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libqpdf/QPDF.cc b/libqpdf/QPDF.cc index 454c05ee..8c5e8e13 100644 --- a/libqpdf/QPDF.cc +++ b/libqpdf/QPDF.cc @@ -362,7 +362,7 @@ QPDF::setLogger(std::shared_ptr<QPDFLogger> l) void QPDF::setOutputStreams(std::ostream* out, std::ostream* err) { - setLogger(std::make_shared<QPDFLogger>()); + setLogger(QPDFLogger::create()); this->m->log->setOutputStreams(out, err); } |