aboutsummaryrefslogtreecommitdiff
path: root/gdbsupport
diff options
context:
space:
mode:
Diffstat (limited to 'gdbsupport')
-rw-r--r--gdbsupport/new-op.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdbsupport/new-op.cc b/gdbsupport/new-op.cc
index 716fa1a..2fe5f64 100644
--- a/gdbsupport/new-op.cc
+++ b/gdbsupport/new-op.cc
@@ -104,7 +104,7 @@ operator new[] (std::size_t sz, const std::nothrow_t&) noexcept
errors from AddressSanitizers. */
void
-operator delete (void *p)
+operator delete (void *p) noexcept
{
free (p);
}
@@ -122,7 +122,7 @@ operator delete (void *p, std::size_t) noexcept
}
void
-operator delete[] (void *p)
+operator delete[] (void *p) noexcept
{
return ::operator delete (p);
}