summaryrefslogtreecommitdiffstats
path: root/examples/pdf-custom-filter.cc
diff options
context:
space:
mode:
authorm-holger <m-holger@kubitscheck.org>2023-05-20 15:25:46 +0200
committerm-holger <m-holger@kubitscheck.org>2023-05-20 16:41:56 +0200
commite6577a1323cd813a92ddbc8841e1342c05de071a (patch)
treec1efea1b140cac94dbaf496ae6ec5e0a621daa07 /examples/pdf-custom-filter.cc
parentba5a3567a262efdfc171decf481b716ea29743d6 (diff)
downloadqpdf-e6577a1323cd813a92ddbc8841e1342c05de071a.tar.zst
Replace 'virtual' specifier with 'override'
Diffstat (limited to 'examples/pdf-custom-filter.cc')
-rw-r--r--examples/pdf-custom-filter.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/pdf-custom-filter.cc b/examples/pdf-custom-filter.cc
index 30f02d5c..d99c6ab2 100644
--- a/examples/pdf-custom-filter.cc
+++ b/examples/pdf-custom-filter.cc
@@ -48,7 +48,7 @@ class Pl_XOR: public Pipeline
public:
Pl_XOR(char const* identifier, Pipeline* next, unsigned char key);
- virtual ~Pl_XOR() = default;
+ ~Pl_XOR() override = default;
void write(unsigned char const* data, size_t len) override;
void finish() override;
@@ -91,7 +91,7 @@ class SF_XORDecode: public QPDFStreamFilter
// filter, which just means QPDF assumes that it should not
// "uncompress" the stream by default.
public:
- virtual ~SF_XORDecode() = default;
+ ~SF_XORDecode() override = default;
bool setDecodeParms(QPDFObjectHandle decode_parms) override;
Pipeline* getDecodePipeline(Pipeline* next) override;
bool isSpecializedCompression() override;
@@ -199,7 +199,7 @@ class StreamReplacer: public QPDFObjectHandle::StreamDataProvider
public:
StreamReplacer(QPDF* pdf);
- virtual ~StreamReplacer() = default;
+ ~StreamReplacer() override = default;
void
provideStreamData(QPDFObjGen const& og, Pipeline* pipeline) override;