diff options
author | Thiago Macieira <thiago.macieira@intel.com> | 2013-01-19 09:43:20 +0800 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-02-19 18:50:35 +0100 |
commit | 9592b98b55c1bc716d202d4bcd82c79bc20300cd (patch) | |
tree | 07bc1032dbba26aa37ff54e50489831431cf6794 /src/corelib/tools/qtools_p.h | |
parent | 6aa09bbce59828d028f6d1e81d2bfc6ba537aae1 (diff) |
Mark the QArrayData alloc/dealloc functions as nothrow
Throwing is handled at a higher level.
Change-Id: I573e4ded135b61e35fbe6e188be09acf449911fc
Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
Diffstat (limited to 'src/corelib/tools/qtools_p.h')
-rw-r--r-- | src/corelib/tools/qtools_p.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/tools/qtools_p.h b/src/corelib/tools/qtools_p.h index b00343dd39..38073a6e30 100644 --- a/src/corelib/tools/qtools_p.h +++ b/src/corelib/tools/qtools_p.h @@ -58,7 +58,7 @@ QT_BEGIN_NAMESPACE // implemented in qbytearray.cpp -int Q_CORE_EXPORT qAllocMore(int alloc, int extra); +int Q_CORE_EXPORT qAllocMore(int alloc, int extra) Q_DECL_NOTHROW; QT_END_NAMESPACE |