diff options
author | James R. Barlow <james@purplerock.ca> | 2022-09-04 23:48:25 +0200 |
---|---|---|
committer | James R. Barlow <james@purplerock.ca> | 2022-09-05 22:29:56 +0200 |
commit | 12967bdf8a271faeaf160b88bc8c5c800703af82 (patch) | |
tree | 642d4000430b037c2cea9ad2f44fc8e8e87e70dc /libtests/qtest/arg_parser | |
parent | 952b00aecd7bfdf9db50eb6b3d922ce17e1b606c (diff) | |
download | qpdf-12967bdf8a271faeaf160b88bc8c5c800703af82.tar.zst |
Take advantage of unique_ptr and move construction for Buffer
Since Buffer has always implemented its copy constructor with a deep
copy, its Members object will never have multiple owners. Change to unique_ptr.
Also implement move constructors for Buffer, since there may be cases
where a deep copy is not needed.
Diffstat (limited to 'libtests/qtest/arg_parser')
0 files changed, 0 insertions, 0 deletions