Commit 4101596f1ab61af99b71defa2e2b512d52dcc6ea
1 parent
33f207ca
Add QPDFObjectHandle move constructor and assignment operator for future build
Showing
1 changed file
with
8 additions
and
0 deletions
include/qpdf/QPDFObjectHandle.hh
| ... | ... | @@ -290,6 +290,14 @@ class QPDFObjectHandle |
| 290 | 290 | QPDFObjectHandle(QPDFObjectHandle const&) = default; |
| 291 | 291 | QPDF_DLL |
| 292 | 292 | QPDFObjectHandle& operator=(QPDFObjectHandle const&) = default; |
| 293 | + | |
| 294 | +#ifdef QPDF_FUTURE | |
| 295 | + QPDF_DLL | |
| 296 | + QPDFObjectHandle(QPDFObjectHandle&&) = default; | |
| 297 | + QPDF_DLL | |
| 298 | + QPDFObjectHandle& operator=(QPDFObjectHandle&&) = default; | |
| 299 | +#endif | |
| 300 | + | |
| 293 | 301 | QPDF_DLL |
| 294 | 302 | inline bool isInitialized() const; |
| 295 | 303 | ... | ... |