summaryrefslogtreecommitdiffstats
path: root/src/core/aspects/qaspectfactory_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/aspects/qaspectfactory_p.h')
-rw-r--r--src/core/aspects/qaspectfactory_p.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/aspects/qaspectfactory_p.h b/src/core/aspects/qaspectfactory_p.h
index 41a063900..8a286d356 100644
--- a/src/core/aspects/qaspectfactory_p.h
+++ b/src/core/aspects/qaspectfactory_p.h
@@ -75,7 +75,7 @@ public:
~QAspectFactory();
QAspectFactory &operator=(const QAspectFactory &other);
#ifdef Q_COMPILER_RVALUE_REFS
- QAspectFactory &operator=(QAspectFactory &&other) Q_DECL_NOTHROW
+ QAspectFactory &operator=(QAspectFactory &&other) noexcept
{
m_factories.swap(other.m_factories);
m_aspectNames.swap(other.m_aspectNames);
@@ -83,7 +83,7 @@ public:
}
#endif
- inline void swap(QAspectFactory &other) Q_DECL_NOTHROW
+ inline void swap(QAspectFactory &other) noexcept
{
m_factories.swap(other.m_factories);
m_aspectNames.swap(other.m_aspectNames);