mirror of
https://github.com/k4zmu2a/SpaceCadetPinball.git
synced 2025-12-07 04:51:00 +01:00
TPinballComponent: replaced calloc operator new with member initialization.
This commit is contained in:
parent
93de90b680
commit
261457a959
30 changed files with 119 additions and 142 deletions
|
|
@ -111,13 +111,3 @@ int TPinballComponent::get_scoring(int index)
|
|||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
void* TPinballComponent::operator new(size_t Size)
|
||||
{
|
||||
return calloc(1u, Size);
|
||||
}
|
||||
|
||||
void TPinballComponent::operator delete(void* p)
|
||||
{
|
||||
free(p); /*Original does not have this*/
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue