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.
This commit is contained in:
Stephen Williams 2008-08-01 09:48:59 -07:00
parent 4ca7f2a9bd
commit be551a6b68
1 changed files with 5 additions and 0 deletions

View File

@ -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