aboutsummaryrefslogtreecommitdiffstats
path: root/libtests/dct_compress.cc
diff options
context:
space:
mode:
authorm-holger <m-holger@kubitscheck.org>2023-06-01 15:12:39 +0200
committerm-holger <m-holger@kubitscheck.org>2023-06-09 16:43:21 +0200
commit5906dd5c1f050af5d6eb2b9e9e5a0099e44b3ae6 (patch)
tree31854ee87338d294782f185a459dae43e96c15f8 /libtests/dct_compress.cc
parent7bc0f1d828eccbc5a277b75aedc85b7523919f87 (diff)
downloadqpdf-5906dd5c1f050af5d6eb2b9e9e5a0099e44b3ae6.tar.zst
Code tidy - Clang-Tidy rule modernize-use-default-member-init
Diffstat (limited to 'libtests/dct_compress.cc')
-rw-r--r--libtests/dct_compress.cc8
1 files changed, 3 insertions, 5 deletions
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