diff options
author | Jay Berkenbilt <jberkenbilt@users.noreply.github.com> | 2023-05-20 17:29:09 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-20 17:29:09 +0200 |
commit | fd17c8e3fe38a56abf50ce0edec1cde48d4f74cb (patch) | |
tree | c1efea1b140cac94dbaf496ae6ec5e0a621daa07 /libtests/flate.cc | |
parent | a6d7b79e65941238871c0c3d7d06b9bf246213ba (diff) | |
parent | e6577a1323cd813a92ddbc8841e1342c05de071a (diff) | |
download | qpdf-fd17c8e3fe38a56abf50ce0edec1cde48d4f74cb.tar.zst |
Merge pull request #963 from m-holger/tidy
Code tidy
Diffstat (limited to 'libtests/flate.cc')
-rw-r--r-- | libtests/flate.cc | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/libtests/flate.cc b/libtests/flate.cc index 77fb440e..9b64ca67 100644 --- a/libtests/flate.cc +++ b/libtests/flate.cc @@ -4,10 +4,8 @@ #include <qpdf/Pl_StdioFile.hh> #include <qpdf/QUtil.hh> -#include <errno.h> #include <iostream> -#include <stdlib.h> -#include <string.h> +#include <cstdlib> void run(char const* filename) @@ -30,7 +28,7 @@ run(char const* filename) Pipeline* inf2 = new Pl_Flate("inf2", out2, Pl_Flate::a_inflate); // Count bytes written to o3 - Pl_Count* count3 = new Pl_Count("count3", out3); + auto* count3 = new Pl_Count("count3", out3); // Do both simultaneously Pipeline* inf3 = new Pl_Flate("inf3", count3, Pl_Flate::a_inflate); |