diff --git a/src/nrnoc/memblist.cpp b/src/nrnoc/memblist.cpp index c5cf800f8f..c01093cee4 100644 --- a/src/nrnoc/memblist.cpp +++ b/src/nrnoc/memblist.cpp @@ -55,7 +55,7 @@ Memb_list& Memb_list::operator=(Memb_list&& rhs) noexcept { return *this; } -Memb_list::~Memb_list() { +Memb_list::~Memb_list() noexcept { if (m_owns_nodes) { nodes_free(); }