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 /libtests/closed_file_input_source.cc | |
parent | e259635986a799f0b72b6040aba8c1ed870e552a (diff) | |
download | qpdf-e5f3910c3ee1f6b779455fb1516ab3c985383d8e.tar.zst |
Add new FileInputSource constructors
Diffstat (limited to 'libtests/closed_file_input_source.cc')
-rw-r--r-- | libtests/closed_file_input_source.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libtests/closed_file_input_source.cc b/libtests/closed_file_input_source.cc index ff5354fb..e4c8ed36 100644 --- a/libtests/closed_file_input_source.cc +++ b/libtests/closed_file_input_source.cc @@ -73,8 +73,7 @@ main() do_tests(&cf2); cf2.stayOpen(false); std::cout << "testing with FileInputSource\n"; - FileInputSource f; - f.setFilename("input"); + FileInputSource f("input"); do_tests(&f); std::cout << "all assertions passed" << std::endl; return 0; |