Commit 0a7ba62b004ba16ee2c52b94f126d32c4d857e95
1 parent
1264f473
Update formatting a documentation from last PR
Showing
3 changed files
with
10 additions
and
2 deletions
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 | 7 | 2022-09-02 Jay Berkenbilt <ejb@ql.org> |
| 2 | 8 | |
| 3 | 9 | * Add new QPDF::create() factory method that returns | ... | ... |
include/qpdf/Buffer.hh
| ... | ... | @@ -49,9 +49,9 @@ class Buffer |
| 49 | 49 | QPDF_DLL |
| 50 | 50 | Buffer& operator=(Buffer const&); |
| 51 | 51 | QPDF_DLL |
| 52 | - Buffer(Buffer &&) noexcept; | |
| 52 | + Buffer(Buffer&&) noexcept; | |
| 53 | 53 | QPDF_DLL |
| 54 | - Buffer& operator=(Buffer &&) noexcept; | |
| 54 | + Buffer& operator=(Buffer&&) noexcept; | |
| 55 | 55 | QPDF_DLL |
| 56 | 56 | size_t getSize() const; |
| 57 | 57 | QPDF_DLL | ... | ... |
manual/release-notes.rst
| ... | ... | @@ -251,6 +251,8 @@ For a detailed list of changes, please see the file |
| 251 | 251 | generation parameters. The old versions will continue to be |
| 252 | 252 | supported and are not deprecated. |
| 253 | 253 | |
| 254 | + - Add a move constructor to the ``Buffer`` class. | |
| 255 | + | |
| 254 | 256 | - Other changes |
| 255 | 257 | |
| 256 | 258 | - In JSON v1 mode, the ``"objects"`` key now reflects the repaired | ... | ... |