TPinballComponent: replaced calloc operator new with member initialization.
This commit is contained in:
1 parent
93de90b680
commit
261457a959
30 files changed
+119
-142
No files matched your search
@@ -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*/
|
||||
}
|
||||
Reference in new issue
Block a user