diff options
author | m-holger <m-holger@kubitscheck.org> | 2022-08-25 15:56:52 +0200 |
---|---|---|
committer | m-holger <m-holger@kubitscheck.org> | 2022-08-27 13:19:51 +0200 |
commit | fc4feb6f1abff887e22eaca05ae260e5eb7376c7 (patch) | |
tree | 4c0eb8269cb019683c69aa5cacb833f23b870163 /include | |
parent | d6a447b654592cc1d1118a54bdedcc142ac8d434 (diff) | |
download | qpdf-fc4feb6f1abff887e22eaca05ae260e5eb7376c7.tar.zst |
Remove BufferInputSource::Members
Diffstat (limited to 'include')
-rw-r--r-- | include/qpdf/BufferInputSource.hh | 25 |
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 |