From 073808aa50f0c78e2d6fea4f56f0b814b314eb42 Mon Sep 17 00:00:00 2001 From: m-holger Date: Tue, 26 Jul 2022 12:37:50 +0100 Subject: Code tidy : replace 0 with nullptr or true --- libqpdf/Pipeline.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libqpdf/Pipeline.cc') diff --git a/libqpdf/Pipeline.cc b/libqpdf/Pipeline.cc index 5bd4557d..6f3f33db 100644 --- a/libqpdf/Pipeline.cc +++ b/libqpdf/Pipeline.cc @@ -14,7 +14,7 @@ Pipeline::Pipeline(char const* identifier, Pipeline* next) : Pipeline* Pipeline::getNext(bool allow_null) { - if ((this->next == 0) && (!allow_null)) { + if ((this->next == nullptr) && (!allow_null)) { throw std::logic_error( this->identifier + ": Pipeline::getNext() called on pipeline with no next"); -- cgit v1.2.3-70-g09d2