diff options
author | Jay Berkenbilt <ejb@ql.org> | 2022-05-04 18:02:39 +0200 |
---|---|---|
committer | Jay Berkenbilt <ejb@ql.org> | 2022-05-04 18:07:11 +0200 |
commit | e5f3910c3ee1f6b779455fb1516ab3c985383d8e (patch) | |
tree | 54ae7548722e072bce4dbcb3fc627f85714d1836 /qpdf | |
parent | e259635986a799f0b72b6040aba8c1ed870e552a (diff) | |
download | qpdf-e5f3910c3ee1f6b779455fb1516ab3c985383d8e.tar.zst |
Add new FileInputSource constructors
Diffstat (limited to 'qpdf')
-rw-r--r-- | qpdf/test_tokenizer.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/qpdf/test_tokenizer.cc b/qpdf/test_tokenizer.cc index f1155a28..2b18eb77 100644 --- a/qpdf/test_tokenizer.cc +++ b/qpdf/test_tokenizer.cc @@ -191,8 +191,7 @@ process(char const* filename, bool include_ignorable, size_t max_len) std::shared_ptr<InputSource> is; // Tokenize file, skipping streams - FileInputSource* fis = new FileInputSource(); - fis->setFilename(filename); + FileInputSource* fis = new FileInputSource(filename); is = std::shared_ptr<InputSource>(fis); dump_tokens(is, "FILE", max_len, include_ignorable, true, false); |