aboutsummaryrefslogtreecommitdiffstats
path: root/examples/pdf-count-strings.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-count-strings.cc
parentba5a3567a262efdfc171decf481b716ea29743d6 (diff)
downloadqpdf-e6577a1323cd813a92ddbc8841e1342c05de071a.tar.zst
Replace 'virtual' specifier with 'override'
Diffstat (limited to 'examples/pdf-count-strings.cc')
-rw-r--r--examples/pdf-count-strings.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/pdf-count-strings.cc b/examples/pdf-count-strings.cc
index 584d630b..93676375 100644
--- a/examples/pdf-count-strings.cc
+++ b/examples/pdf-count-strings.cc
@@ -30,9 +30,9 @@ class StringCounter: public QPDFObjectHandle::TokenFilter
count(0)
{
}
- virtual ~StringCounter() = default;
- virtual void handleToken(QPDFTokenizer::Token const&);
- virtual void handleEOF();
+ ~StringCounter() override = default;
+ void handleToken(QPDFTokenizer::Token const&) override;
+ void handleEOF() override;
int getCount() const;
private: