diff options
author | Jay Berkenbilt <ejb@ql.org> | 2022-05-04 00:40:42 +0200 |
---|---|---|
committer | Jay Berkenbilt <ejb@ql.org> | 2022-05-04 00:54:51 +0200 |
commit | 16139d97c83ba48ab31b0f7619bab77d6cdb79e6 (patch) | |
tree | dd53beacfaab649a98970469ef281e5c2aa67f6a /libtests/base64.cc | |
parent | 21d6e3231f627470ee58b06df018f31de9eb3201 (diff) | |
download | qpdf-16139d97c83ba48ab31b0f7619bab77d6cdb79e6.tar.zst |
Add new Pl_OStream Pipeline
Diffstat (limited to 'libtests/base64.cc')
-rw-r--r-- | libtests/base64.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libtests/base64.cc b/libtests/base64.cc index 0ce6f9a3..41dc676d 100644 --- a/libtests/base64.cc +++ b/libtests/base64.cc @@ -2,7 +2,7 @@ #include <qpdf/Pl_Base64.hh> -#include <qpdf/Pl_StdioFile.hh> +#include <qpdf/Pl_OStream.hh> #include <qpdf/QUtil.hh> #include <cstdlib> #include <cstring> @@ -52,7 +52,7 @@ main(int argc, char* argv[]) } try { - Pl_StdioFile out("stdout", stdout); + Pl_OStream out("stdout", std::cout); Pl_Base64 decode("decode", &out, action); // The comments are "n: n%4 n%3", where n is the number of // bytes read at the end of the call, and are there to |