From 7c6901bce574fa35a610de1bec90512c6e84d05d Mon Sep 17 00:00:00 2001 From: m-holger Date: Sun, 7 Aug 2022 10:33:25 +0100 Subject: Code tidy: remove redundant calls to smart_ptrs get() method --- libqpdf/Pl_Flate.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libqpdf/Pl_Flate.cc') 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"); -- cgit v1.2.3-54-g00ecf