summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/gui/kernel/qpalette.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/kernel/qpalette.h b/src/gui/kernel/qpalette.h
index 78dd2ce9d7..66b3f039f4 100644
--- a/src/gui/kernel/qpalette.h
+++ b/src/gui/kernel/qpalette.h
@@ -61,7 +61,7 @@ public:
~QPalette();
QPalette &operator=(const QPalette &palette);
#ifdef Q_COMPILER_RVALUE_REFS
- QPalette(QPalette &&other) Q_DECL_NOEXCEPT
+ QPalette(QPalette &&other) Q_DECL_NOTHROW
: d(other.d), data(other.data)
{ other.d = Q_NULLPTR; }
inline QPalette &operator=(QPalette &&other) Q_DECL_NOEXCEPT