aboutsummaryrefslogtreecommitdiffstats
path: root/fuzz
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 /fuzz
parent2a7d2b63c2a7284d1b1179eefbf64f5dd29aa510 (diff)
downloadqpdf-cdd0b4fb7d48b32686d56364cf170569bdb0149d.tar.zst
Use = default and = delete where possible in classes
Diffstat (limited to 'fuzz')
-rw-r--r--fuzz/qpdf_fuzzer.cc4
1 files changed, 1 insertions, 3 deletions
diff --git a/fuzz/qpdf_fuzzer.cc b/fuzz/qpdf_fuzzer.cc
index 15469782..aba08c7f 100644
--- a/fuzz/qpdf_fuzzer.cc
+++ b/fuzz/qpdf_fuzzer.cc
@@ -14,9 +14,7 @@
class DiscardContents: public QPDFObjectHandle::ParserCallbacks
{
public:
- virtual ~DiscardContents()
- {
- }
+ virtual ~DiscardContents() = default;
virtual void
handleObject(QPDFObjectHandle)
{