QPdfOutputIntent: Remove noexcept from copy member functions

Found during header review, and following status quo in existing APIs.

Task-number: QTBUG-125859
Change-Id: Ib8004dd7fc4f22973be83b45f172003de20d5f90
Reviewed-by: Eirik Aavitsland <eirik.aavitsland@qt.io>
(cherry picked from commit 7bcd33fe097925e640f3270f669c3a9a1a30afd1)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
Volker Hilsheimer 2024-08-13 12:47:29 +02:00 committed by Qt Cherry-pick Bot
parent 53c0dad37a
commit b361fd6021
2 changed files with 4 additions and 4 deletions

View File

@ -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

View File

@ -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();