aboutsummaryrefslogtreecommitdiffstats
path: root/libqpdf/Pl_Flate.cc
diff options
context:
space:
mode:
authorm-holger <m-holger@kubitscheck.org>2022-08-07 11:33:25 +0200
committerm-holger <m-holger@kubitscheck.org>2022-08-07 11:33:25 +0200
commit7c6901bce574fa35a610de1bec90512c6e84d05d (patch)
tree122be9afae6fbee5f4fa524d27d00251b0fcdb05 /libqpdf/Pl_Flate.cc
parenta9c0b026683cc1f9f86a22a0e080940f55d5760d (diff)
downloadqpdf-7c6901bce574fa35a610de1bec90512c6e84d05d.tar.zst
Code tidy: remove redundant calls to smart_ptrs get() method
Diffstat (limited to 'libqpdf/Pl_Flate.cc')
-rw-r--r--libqpdf/Pl_Flate.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libqpdf/Pl_Flate.cc b/libqpdf/Pl_Flate.cc
index 4183b7e4..7f2fa4a6 100644
--- a/libqpdf/Pl_Flate.cc
+++ b/libqpdf/Pl_Flate.cc
@@ -86,7 +86,7 @@ Pl_Flate::warn(char const* msg, int code)
void
Pl_Flate::write(unsigned char const* data, size_t len)
{
- if (this->m->outbuf.get() == nullptr) {
+ if (this->m->outbuf == nullptr) {
throw std::logic_error(
this->identifier +
": Pl_Flate: write() called after finish() called");