Commit 416d9668ee97c54a692d9280364746ce8aeeed43
Committed by
Jay Berkenbilt
1 parent
7aa2306e
Add default move constructor/assignment to QPDFObjectHandle
Showing
1 changed file
with
4 additions
and
0 deletions
include/qpdf/QPDFObjectHandle.hh
| ... | ... | @@ -330,8 +330,12 @@ class QPDFObjectHandle |
| 330 | 330 | QPDF_DLL |
| 331 | 331 | QPDFObjectHandle(QPDFObjectHandle const&) = default; |
| 332 | 332 | QPDF_DLL |
| 333 | + QPDFObjectHandle(QPDFObjectHandle&&) = default; | |
| 334 | + QPDF_DLL | |
| 333 | 335 | QPDFObjectHandle& operator=(QPDFObjectHandle const&) = default; |
| 334 | 336 | QPDF_DLL |
| 337 | + QPDFObjectHandle& operator=(QPDFObjectHandle&&) = default; | |
| 338 | + QPDF_DLL | |
| 335 | 339 | inline bool isInitialized() const; |
| 336 | 340 | |
| 337 | 341 | // This method returns true if the QPDFObjectHandle objects point | ... | ... |