Commit 0a7ba62b004ba16ee2c52b94f126d32c4d857e95

Authored by Jay Berkenbilt
1 parent 1264f473

Update formatting a documentation from last PR

ChangeLog
  1 +2022-09-05 Jay Berkenbilt <ejb@ql.org>
  2 +
  3 + * Add a move constructor to Buffer, making it possible to move
  4 + rather than copy the internal buffer. Thanks to jbarlow83 for the
  5 + contribution.
  6 +
1 2022-09-02 Jay Berkenbilt <ejb@ql.org> 7 2022-09-02 Jay Berkenbilt <ejb@ql.org>
2 8
3 * Add new QPDF::create() factory method that returns 9 * Add new QPDF::create() factory method that returns
include/qpdf/Buffer.hh
@@ -49,9 +49,9 @@ class Buffer @@ -49,9 +49,9 @@ class Buffer
49 QPDF_DLL 49 QPDF_DLL
50 Buffer& operator=(Buffer const&); 50 Buffer& operator=(Buffer const&);
51 QPDF_DLL 51 QPDF_DLL
52 - Buffer(Buffer &&) noexcept; 52 + Buffer(Buffer&&) noexcept;
53 QPDF_DLL 53 QPDF_DLL
54 - Buffer& operator=(Buffer &&) noexcept; 54 + Buffer& operator=(Buffer&&) noexcept;
55 QPDF_DLL 55 QPDF_DLL
56 size_t getSize() const; 56 size_t getSize() const;
57 QPDF_DLL 57 QPDF_DLL
manual/release-notes.rst
@@ -251,6 +251,8 @@ For a detailed list of changes, please see the file @@ -251,6 +251,8 @@ For a detailed list of changes, please see the file
251 generation parameters. The old versions will continue to be 251 generation parameters. The old versions will continue to be
252 supported and are not deprecated. 252 supported and are not deprecated.
253 253
  254 + - Add a move constructor to the ``Buffer`` class.
  255 +
254 - Other changes 256 - Other changes
255 257
256 - In JSON v1 mode, the ``"objects"`` key now reflects the repaired 258 - In JSON v1 mode, the ``"objects"`` key now reflects the repaired