aboutsummaryrefslogtreecommitdiffstats
path: root/libtests/flate.cc
diff options
context:
space:
mode:
authorm-holger <m-holger@kubitscheck.org>2023-05-20 14:24:10 +0200
committerm-holger <m-holger@kubitscheck.org>2023-05-20 16:41:40 +0200
commit41ec7eda54e2263eeb1aee4c3a0616c9c2777fb7 (patch)
treecb151a0c0d9eaf79f3f075879751cc89f98d6f4e /libtests/flate.cc
parentd0682f0f609e979ba085d93a1a0d8e0559f739bb (diff)
downloadqpdf-41ec7eda54e2263eeb1aee4c3a0616c9c2777fb7.tar.zst
Use auto when initialializing with new
Diffstat (limited to 'libtests/flate.cc')
-rw-r--r--libtests/flate.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libtests/flate.cc b/libtests/flate.cc
index 93c41f85..9b64ca67 100644
--- a/libtests/flate.cc
+++ b/libtests/flate.cc
@@ -28,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);