diff options
author | m-holger <m-holger@kubitscheck.org> | 2023-06-01 16:21:32 +0200 |
---|---|---|
committer | m-holger <m-holger@kubitscheck.org> | 2023-06-09 16:52:56 +0200 |
commit | 0ac005f0d96b427d1ddc92af5805aa05bfe86aca (patch) | |
tree | e6044b6d90856b154a6f9cdcb1636b4fca4a4919 /libqpdf/qpdf/QPDF_Dictionary.hh | |
parent | ae3642ce42e23bc454ee81e6383100b696670b37 (diff) | |
download | qpdf-0ac005f0d96b427d1ddc92af5805aa05bfe86aca.tar.zst |
Code tidy - Clang-Tidy rule modernize-use-override
Diffstat (limited to 'libqpdf/qpdf/QPDF_Dictionary.hh')
-rw-r--r-- | libqpdf/qpdf/QPDF_Dictionary.hh | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/libqpdf/qpdf/QPDF_Dictionary.hh b/libqpdf/qpdf/QPDF_Dictionary.hh index da38db7a..0fb6636e 100644 --- a/libqpdf/qpdf/QPDF_Dictionary.hh +++ b/libqpdf/qpdf/QPDF_Dictionary.hh @@ -11,13 +11,13 @@ class QPDF_Dictionary: public QPDFValue { public: - virtual ~QPDF_Dictionary() = default; + ~QPDF_Dictionary() override = default; static std::shared_ptr<QPDFObject> create(std::map<std::string, QPDFObjectHandle> const& items); static std::shared_ptr<QPDFObject> create(std::map<std::string, QPDFObjectHandle>&& items); - virtual std::shared_ptr<QPDFObject> copy(bool shallow = false); - virtual std::string unparse(); - virtual JSON getJSON(int json_version); - virtual void disconnect(); + std::shared_ptr<QPDFObject> copy(bool shallow = false) override; + std::string unparse() override; + JSON getJSON(int json_version) override; + void disconnect() override; // hasKey() and getKeys() treat keys with null values as if they aren't there. getKey() returns // null for the value of a non-existent key. This is as per the PDF spec. |