From 5906dd5c1f050af5d6eb2b9e9e5a0099e44b3ae6 Mon Sep 17 00:00:00 2001 From: m-holger Date: Thu, 1 Jun 2023 14:12:39 +0100 Subject: Code tidy - Clang-Tidy rule modernize-use-default-member-init --- libtests/dct_compress.cc | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'libtests/dct_compress.cc') diff --git a/libtests/dct_compress.cc b/libtests/dct_compress.cc index 3f7c86a1..ab6e3b53 100644 --- a/libtests/dct_compress.cc +++ b/libtests/dct_compress.cc @@ -10,21 +10,19 @@ static void usage() { - std::cerr << "Usage: dct_compress infile outfile width height" - << " {rgb|cmyk|gray}" << std::endl; + std::cerr << "Usage: dct_compress infile outfile width height {rgb|cmyk|gray}" << std::endl; exit(2); } class Callback: public Pl_DCT::CompressConfig { public: - Callback() : - called(false) + Callback() { } ~Callback() override = default; void apply(jpeg_compress_struct*) override; - bool called; + bool called{false}; }; void -- cgit v1.2.3-70-g09d2