From 41ec7eda54e2263eeb1aee4c3a0616c9c2777fb7 Mon Sep 17 00:00:00 2001 From: m-holger Date: Sat, 20 May 2023 13:24:10 +0100 Subject: Use auto when initialializing with new --- libtests/flate.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libtests/flate.cc') 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); -- cgit v1.2.3-54-g00ecf