aboutsummaryrefslogtreecommitdiffstats
path: root/libqpdf/Pl_QPDFTokenizer.cc
diff options
context:
space:
mode:
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(