From 6b9c4480bcb46c9d6bb4afc9b208018ff604a8bf Mon Sep 17 00:00:00 2001 From: Marc Mutz Date: Wed, 22 Jul 2015 12:41:40 +0200 Subject: Mark QLocale as shared It was already movable, so it's BC. Only needed to add nothrow member-swap and nothrow move assignment. Change-Id: Iefedb877078da8ee075eb67185eef221143ddec1 Reviewed-by: Thiago Macieira --- src/corelib/tools/qlocale.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/corelib/tools/qlocale.cpp') diff --git a/src/corelib/tools/qlocale.cpp b/src/corelib/tools/qlocale.cpp index 1f4d0c88c5..bbba18fa27 100644 --- a/src/corelib/tools/qlocale.cpp +++ b/src/corelib/tools/qlocale.cpp @@ -868,6 +868,14 @@ bool QLocale::operator!=(const QLocale &other) const return d->m_data != other.d->m_data || d->m_numberOptions != other.d->m_numberOptions; } +/*! + \fn void QLocale::swap(QLocale &other) + \since 5.6 + + Swaps locale \a other with this locale. This operation is very fast and + never fails. +*/ + /*! \since 5.6 \relates QLocale -- cgit v1.2.3