aboutsummaryrefslogtreecommitdiffstats
path: root/libqpdf/QPDFObjectHandle.cc
diff options
context:
space:
mode:
authorJay Berkenbilt <jberkenbilt@users.noreply.github.com>2023-05-20 17:29:09 +0200
committerGitHub <noreply@github.com>2023-05-20 17:29:09 +0200
commitfd17c8e3fe38a56abf50ce0edec1cde48d4f74cb (patch)
treec1efea1b140cac94dbaf496ae6ec5e0a621daa07 /libqpdf/QPDFObjectHandle.cc
parenta6d7b79e65941238871c0c3d7d06b9bf246213ba (diff)
parente6577a1323cd813a92ddbc8841e1342c05de071a (diff)
downloadqpdf-fd17c8e3fe38a56abf50ce0edec1cde48d4f74cb.tar.zst
Merge pull request #963 from m-holger/tidy
Code tidy
Diffstat (limited to 'libqpdf/QPDFObjectHandle.cc')
-rw-r--r--libqpdf/QPDFObjectHandle.cc20
1 files changed, 10 insertions, 10 deletions
diff --git a/libqpdf/QPDFObjectHandle.cc b/libqpdf/QPDFObjectHandle.cc
index b3f208a5..93d269d3 100644
--- a/libqpdf/QPDFObjectHandle.cc
+++ b/libqpdf/QPDFObjectHandle.cc
@@ -30,10 +30,10 @@
#include <algorithm>
#include <cstring>
-#include <ctype.h>
-#include <limits.h>
+#include <cctype>
+#include <climits>
#include <stdexcept>
-#include <stdlib.h>
+#include <cstdlib>
using namespace std::literals;
@@ -111,8 +111,8 @@ namespace
old_contents(old_contents)
{
}
- virtual ~CoalesceProvider() = default;
- virtual void provideStreamData(QPDFObjGen const&, Pipeline* pipeline);
+ ~CoalesceProvider() override = default;
+ void provideStreamData(QPDFObjGen const&, Pipeline* pipeline) override;
private:
QPDFObjectHandle containing_page;
@@ -200,9 +200,9 @@ namespace
{
public:
LastChar(Pipeline* next);
- virtual ~LastChar() = default;
- virtual void write(unsigned char const* data, size_t len);
- virtual void finish();
+ ~LastChar() override = default;
+ void write(unsigned char const* data, size_t len) override;
+ void finish() override;
unsigned char getLastChar();
private:
@@ -1446,13 +1446,13 @@ namespace
{
}
- virtual void
+ void
provideStreamData(QPDFObjGen const&, Pipeline* pipeline) override
{
p1(pipeline);
}
- virtual bool
+ bool
provideStreamData(
QPDFObjGen const&,
Pipeline* pipeline,