aboutsummaryrefslogtreecommitdiffstats
path: root/libtests/base64.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libtests/base64.cc')
-rw-r--r--libtests/base64.cc4
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