--- squid-3.5.26.orig/include/SquidNew.h	2017-06-01 15:49:00.000000000 +0200
+++ squid-3.5.26/include/SquidNew.h	2017-06-13 03:13:51.928727436 +0200
@@ -18,19 +18,19 @@
  */
 #include <new>
 
-_SQUID_EXTERNNEW_ void *operator new(size_t size) throw (std::bad_alloc)
+_SQUID_EXTERNNEW_ void *operator new(size_t size) noexcept(false)
 {
     return xmalloc(size);
 }
-_SQUID_EXTERNNEW_ void operator delete (void *address) throw()
+_SQUID_EXTERNNEW_ void operator delete (void *address) noexcept(true)
 {
     xfree(address);
 }
-_SQUID_EXTERNNEW_ void *operator new[] (size_t size) throw (std::bad_alloc)
+_SQUID_EXTERNNEW_ void *operator new[] (size_t size) noexcept(false)
 {
     return xmalloc(size);
 }
-_SQUID_EXTERNNEW_ void operator delete[] (void *address) throw()
+_SQUID_EXTERNNEW_ void operator delete[] (void *address) noexcept(true)
 {
     xfree(address);
 }
