diff --git a/src/gui/painting/qpdfoutputintent.cpp b/src/gui/painting/qpdfoutputintent.cpp index a3151f4d470..b960986c8d3 100644 --- a/src/gui/painting/qpdfoutputintent.cpp +++ b/src/gui/painting/qpdfoutputintent.cpp @@ -54,7 +54,7 @@ QPdfOutputIntent::QPdfOutputIntent() /*! Constructs a copy of the output intent \a other. */ -QPdfOutputIntent::QPdfOutputIntent(const QPdfOutputIntent &other) noexcept = default; +QPdfOutputIntent::QPdfOutputIntent(const QPdfOutputIntent &other) = default; /*! \fn QPdfOutputIntent::QPdfOutputIntent(QPdfOutputIntent &&other) noexcept @@ -65,7 +65,7 @@ QPdfOutputIntent::QPdfOutputIntent(const QPdfOutputIntent &other) noexcept = def /*! Assigns the output intent \a other over this intent. */ -QPdfOutputIntent &QPdfOutputIntent::operator=(const QPdfOutputIntent &other) noexcept = default; +QPdfOutputIntent &QPdfOutputIntent::operator=(const QPdfOutputIntent &other) = default; /*! \fn QPdfOutputIntent &QPdfOutputIntent::operator=(QPdfOutputIntent &&other) noexcept diff --git a/src/gui/painting/qpdfoutputintent.h b/src/gui/painting/qpdfoutputintent.h index d3eaffcfc4a..cdeb6da2a4e 100644 --- a/src/gui/painting/qpdfoutputintent.h +++ b/src/gui/painting/qpdfoutputintent.h @@ -23,9 +23,9 @@ class Q_GUI_EXPORT QPdfOutputIntent { public: QPdfOutputIntent(); - QPdfOutputIntent(const QPdfOutputIntent &other) noexcept; + QPdfOutputIntent(const QPdfOutputIntent &other); QPdfOutputIntent(QPdfOutputIntent &&other) noexcept = default; - QPdfOutputIntent &operator=(const QPdfOutputIntent &other) noexcept; + QPdfOutputIntent &operator=(const QPdfOutputIntent &other); QT_MOVE_ASSIGNMENT_OPERATOR_IMPL_VIA_PURE_SWAP(QPdfOutputIntent) ~QPdfOutputIntent();