diff options
author | Marc Mutz <marc.mutz@kdab.com> | 2015-01-19 21:10:49 +0100 |
---|---|---|
committer | Marc Mutz <marc.mutz@kdab.com> | 2015-01-21 11:22:50 +0100 |
commit | b9365aed6a6699e4ae1c1638217565a18ebf6de6 (patch) | |
tree | 93713cfec0ab4e0bf7807661ba10aa30c50b59f4 /src/corelib/tools/qstring.cpp | |
parent | 9fab24f8779fbfc1ab03483d41f41070b3fe9c32 (diff) |
QtCore: add some more Q_DECL_NOTHROW
QtCore now builds with no -Wnoexcept warnings
(that doesn't mean there aren't tons of functions
that should be marked noexcept, just that all
conditionally noexcept functions aren't noexcept(false)
just because of a forgotten noexcept elsewhere).
Change-Id: I10dacb6b9c9d41d3595fe2f306356d62d3d91c76
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/corelib/tools/qstring.cpp')
-rw-r--r-- | src/corelib/tools/qstring.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/tools/qstring.cpp b/src/corelib/tools/qstring.cpp index e830ed36e5..d9eb9c7b5d 100644 --- a/src/corelib/tools/qstring.cpp +++ b/src/corelib/tools/qstring.cpp @@ -1734,7 +1734,7 @@ void QString::expand(int i) string. */ -QString &QString::operator=(const QString &other) +QString &QString::operator=(const QString &other) Q_DECL_NOTHROW { other.d->ref.ref(); if (!d->ref.deref()) |