aboutsummaryrefslogtreecommitdiffstats
path: root/libqpdf/Pl_QPDFTokenizer.cc
diff options
context:
space:
mode:
authorJay Berkenbilt <ejb@ql.org>2022-02-06 17:40:24 +0100
committerJay Berkenbilt <ejb@ql.org>2022-02-07 22:21:36 +0100
commitb606e750eee1d0a22adeb7f804aa3f4bfe0085c2 (patch)
tree56c0454092f257a3e9aabd943f31adf8f1389620 /libqpdf/Pl_QPDFTokenizer.cc
parentb0f1f5c5d5bea8a10cfa8fd204651ceb9bf9df2b (diff)
downloadqpdf-b606e750eee1d0a22adeb7f804aa3f4bfe0085c2.tar.zst
Update for clean compile with POINTERHOLDER_TRANSITION=2doc-check
Diffstat (limited to 'libqpdf/Pl_QPDFTokenizer.cc')
-rw-r--r--libqpdf/Pl_QPDFTokenizer.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/libqpdf/Pl_QPDFTokenizer.cc b/libqpdf/Pl_QPDFTokenizer.cc
index 65e5456e..f6002df7 100644
--- a/libqpdf/Pl_QPDFTokenizer.cc
+++ b/libqpdf/Pl_QPDFTokenizer.cc
@@ -43,10 +43,10 @@ void
Pl_QPDFTokenizer::finish()
{
this->m->buf.finish();
- PointerHolder<InputSource> input =
+ auto input = PointerHolder<InputSource>(
new BufferInputSource("tokenizer data",
- this->m->buf.getBuffer(), true);
-
+ this->m->buf.getBuffer(), true));
+
while (true)
{
QPDFTokenizer::Token token = this->m->tokenizer.readToken(