From be551a6b68f795267029735824a88d37a36ec191 Mon Sep 17 00:00:00 2001 From: Stephen Williams Date: Fri, 1 Aug 2008 09:48:59 -0700 Subject: [PATCH] Add a stub vvp_net_t::delete method Some compilers reference the delete method for the vvp_net_t object even though it is never used. So provide a stub with an assert. --- vvp/vvp_net.cc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/vvp/vvp_net.cc b/vvp/vvp_net.cc index f77850c3e..277732560 100644 --- a/vvp/vvp_net.cc +++ b/vvp/vvp_net.cc @@ -56,6 +56,11 @@ void* vvp_net_t::operator new (size_t size) return return_this; } +void vvp_net_t::operator delete(void*) +{ + assert(0); +} + void* vvp_net_fun_t::operator new(size_t size) { // Link in an initial chunk of space for net_fun_t