TPinballComponent: replaced calloc operator new with member initialization.

This commit is contained in:
Muzychenko Andrey committed 2021-10-02 18:58:54 +03:00
1 parent 93de90b680
commit 261457a959
30 files changed
+119 -142

No files matched your search

-10
View File
@@ -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*/
}