summaryrefslogtreecommitdiff
path: root/include/comphelper/newarray.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'include/comphelper/newarray.hxx')
-rw-r--r--include/comphelper/newarray.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/comphelper/newarray.hxx b/include/comphelper/newarray.hxx
index a904f7d1ed0d..6764cb3bfe3b 100644
--- a/include/comphelper/newarray.hxx
+++ b/include/comphelper/newarray.hxx
@@ -27,7 +27,7 @@
namespace comphelper {
template<typename T> T *
-newArray_null(size_t const n) throw()
+newArray_null(size_t const n) noexcept
{
if ((::std::numeric_limits<size_t>::max() / sizeof(T)) <= n) {
return 0;