Skip to content

Commit

Permalink
Mark delete operators as noexcept
Browse files Browse the repository at this point in the history
  • Loading branch information
djphoenix committed Nov 19, 2016
1 parent e19ac56 commit 23a7948
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/platform/heap.cpp
Expand Up @@ -206,9 +206,9 @@ void* operator new[](size_t a) {
void* operator new(size_t, size_t a) {
return Heap::alloc(a);
}
void operator delete(void* a) {
void operator delete(void* a) noexcept {
return Heap::free(a);
}
void operator delete[](void* a) {
void operator delete[](void* a) noexcept {
return Heap::free(a);
}

0 comments on commit 23a7948

Please sign in to comment.