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_Array.hh | |
parent | ae3642ce42e23bc454ee81e6383100b696670b37 (diff) | |
download | qpdf-0ac005f0d96b427d1ddc92af5805aa05bfe86aca.tar.zst |
Code tidy - Clang-Tidy rule modernize-use-override
Diffstat (limited to 'libqpdf/qpdf/QPDF_Array.hh')
-rw-r--r-- | libqpdf/qpdf/QPDF_Array.hh | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/libqpdf/qpdf/QPDF_Array.hh b/libqpdf/qpdf/QPDF_Array.hh index 51a366a6..10ac9f8c 100644 --- a/libqpdf/qpdf/QPDF_Array.hh +++ b/libqpdf/qpdf/QPDF_Array.hh @@ -9,14 +9,14 @@ class QPDF_Array: public QPDFValue { public: - virtual ~QPDF_Array() = default; + ~QPDF_Array() override = default; static std::shared_ptr<QPDFObject> create(std::vector<QPDFObjectHandle> const& items); static std::shared_ptr<QPDFObject> create(std::vector<std::shared_ptr<QPDFObject>>&& items, bool sparse); - 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; int size() const noexcept |