File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -203,21 +203,21 @@ class zone {
203203 void swap (zone& o);
204204
205205
206- static void * operator new (std::size_t size) throw (std::bad_alloc)
206+ static void * operator new (std::size_t size)
207207 {
208208 void * p = ::malloc (size);
209209 if (!p) throw std::bad_alloc ();
210210 return p;
211211 }
212- static void operator delete (void *p) throw ()
212+ static void operator delete (void *p) noexcept
213213 {
214214 ::free (p);
215215 }
216- static void * operator new (std::size_t /* size*/ , void * mem) throw ()
216+ static void * operator new (std::size_t /* size*/ , void * mem) noexcept
217217 {
218218 return mem;
219219 }
220- static void operator delete (void * /* p*/ , void * /* mem*/ ) throw ()
220+ static void operator delete (void * /* p*/ , void * /* mem*/ ) noexcept
221221 {
222222 }
223223
You can’t perform that action at this time.
0 commit comments