aboutsummaryrefslogtreecommitdiffstats
path: root/libtests/dct_compress.cc
diff options
context:
space:
mode:
authorJay Berkenbilt <ejb@ql.org>2022-04-16 01:44:07 +0200
committerJay Berkenbilt <ejb@ql.org>2022-04-16 17:39:14 +0200
commitcdd0b4fb7d48b32686d56364cf170569bdb0149d (patch)
treeb094c966b33575eb9f2e441d1705990f45539bec /libtests/dct_compress.cc
parent2a7d2b63c2a7284d1b1179eefbf64f5dd29aa510 (diff)
downloadqpdf-cdd0b4fb7d48b32686d56364cf170569bdb0149d.tar.zst
Use = default and = delete where possible in classes
Diffstat (limited to 'libtests/dct_compress.cc')
-rw-r--r--libtests/dct_compress.cc4
1 files changed, 1 insertions, 3 deletions
diff --git a/libtests/dct_compress.cc b/libtests/dct_compress.cc
index 446d4d0a..ad8710b1 100644
--- a/libtests/dct_compress.cc
+++ b/libtests/dct_compress.cc
@@ -22,9 +22,7 @@ class Callback: public Pl_DCT::CompressConfig
called(false)
{
}
- virtual ~Callback()
- {
- }
+ virtual ~Callback() = default;
virtual void apply(jpeg_compress_struct*);
bool called;
};