aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorm-holger <m-holger@kubitscheck.org>2022-08-25 15:56:52 +0200
committerm-holger <m-holger@kubitscheck.org>2022-08-27 13:19:51 +0200
commitfc4feb6f1abff887e22eaca05ae260e5eb7376c7 (patch)
tree4c0eb8269cb019683c69aa5cacb833f23b870163 /include
parentd6a447b654592cc1d1118a54bdedcc142ac8d434 (diff)
downloadqpdf-fc4feb6f1abff887e22eaca05ae260e5eb7376c7.tar.zst
Remove BufferInputSource::Members
Diffstat (limited to 'include')
-rw-r--r--include/qpdf/BufferInputSource.hh25
1 files changed, 5 insertions, 20 deletions
diff --git a/include/qpdf/BufferInputSource.hh b/include/qpdf/BufferInputSource.hh
index b965704f..1a93815b 100644
--- a/include/qpdf/BufferInputSource.hh
+++ b/include/qpdf/BufferInputSource.hh
@@ -54,26 +54,11 @@ class QPDF_DLL_CLASS BufferInputSource: public InputSource
virtual void unreadCh(char ch);
private:
- class QPDF_DLL_PRIVATE Members
- {
- friend class BufferInputSource;
-
- public:
- QPDF_DLL
- ~Members() = default;
-
- private:
- Members(bool own_memory, std::string const& description, Buffer* buf);
- Members(Members const&) = delete;
-
- bool own_memory;
- std::string description;
- Buffer* buf;
- qpdf_offset_t cur_offset;
- qpdf_offset_t max_offset;
- };
-
- std::shared_ptr<Members> m;
+ bool own_memory;
+ std::string description;
+ Buffer* buf;
+ qpdf_offset_t cur_offset;
+ qpdf_offset_t max_offset;
};
#endif // QPDF_BUFFERINPUTSOURCE_HH