diff options
author | Jay Berkenbilt <ejb@ql.org> | 2019-08-28 04:10:11 +0200 |
---|---|---|
committer | Jay Berkenbilt <ejb@ql.org> | 2019-08-28 04:27:47 +0200 |
commit | ba5fb6916446d8bdf79cba25f08d759bc5595aec (patch) | |
tree | da6691079e5feacc571127cc062482df9ba4399c /libqpdf/Pipeline.cc | |
parent | dadf8307c83706c3b097bc4b1fe7b24defbebb8e (diff) | |
download | qpdf-ba5fb6916446d8bdf79cba25f08d759bc5595aec.tar.zst |
Make popping pipeline stack safer
Use destructors to pop the pipeline stack, and ensure that code that
pops the stack is actually popping the intended thing.
Diffstat (limited to 'libqpdf/Pipeline.cc')
-rw-r--r-- | libqpdf/Pipeline.cc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libqpdf/Pipeline.cc b/libqpdf/Pipeline.cc index bcd48e46..bd4fb087 100644 --- a/libqpdf/Pipeline.cc +++ b/libqpdf/Pipeline.cc @@ -31,3 +31,9 @@ Pipeline::getNext(bool allow_null) } return this->m->next; } + +std::string +Pipeline::getIdentifier() const +{ + return this->identifier; +} |