diff options
Diffstat (limited to 'src/pdf/api/qpdfselection.h')
-rw-r--r-- | src/pdf/api/qpdfselection.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/pdf/api/qpdfselection.h b/src/pdf/api/qpdfselection.h index a5e9280dc..5a6a1cddc 100644 --- a/src/pdf/api/qpdfselection.h +++ b/src/pdf/api/qpdfselection.h @@ -56,10 +56,11 @@ class Q_PDF_EXPORT QPdfSelection Q_PROPERTY(QString text READ text) public: - QPdfSelection(const QPdfSelection &other); ~QPdfSelection(); + QPdfSelection(const QPdfSelection &other); QPdfSelection &operator=(const QPdfSelection &other); - inline QPdfSelection &operator=(QPdfSelection &&other) noexcept { swap(other); return *this; } + QPdfSelection(QPdfSelection &&other) noexcept; + QPdfSelection &operator=(QPdfSelection &&other) noexcept { swap(other); return *this; } void swap(QPdfSelection &other) noexcept { d.swap(other.d); } bool isValid() const; QVector<QPolygonF> bounds() const; |