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:
parent
4ca7f2a9bd
commit
be551a6b68
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue