Skip to content

Commit

Permalink
Fix build break on some compilers
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnSully committed May 19, 2019
1 parent af8c82b commit 60a0546
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/new.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ inline void *operator new(size_t size, enum MALLOC_CLASS mclass)
return zmalloc(size, mclass);
}

inline void operator delete(void * p)
inline void operator delete(void * p) noexcept
{
zfree(p);
}

inline void operator delete(void *p, std::size_t)
inline void operator delete(void *p, std::size_t) noexcept
{
zfree(p);
}

0 comments on commit 60a0546

Please sign in to comment.