C1062: Delete can only be global, if parameter is (void *)

[ERROR]

Description

Global declarations/definitions of operator delete are allowed to have only one parameter.

Tips

Declare only one parameter for the global delete operator. Or declare the delete operator as a class member, where it can have 2 parameters.