aboutsummaryrefslogtreecommitdiffstats
path: root/libtests/dct_compress.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libtests/dct_compress.cc')
-rw-r--r--libtests/dct_compress.cc10
1 files changed, 3 insertions, 7 deletions
diff --git a/libtests/dct_compress.cc b/libtests/dct_compress.cc
index 3f7c86a1..8f7e0913 100644
--- a/libtests/dct_compress.cc
+++ b/libtests/dct_compress.cc
@@ -10,21 +10,17 @@
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() = default;
~Callback() override = default;
void apply(jpeg_compress_struct*) override;
- bool called;
+ bool called{false};
};
void