Compiler Error C2813

Visual Studio 6.0

too many formal parameters for non-based 'operator delete'

Too many formal parameters were provided for the nonbased form of the operator delete. The operator delete can take one or two formal parameters.

The following are the prototypes for the nonbased forms of the operator delete:

void operator delete ( void __near * );
void operator delete ( void __near *, unsigned int );
void operator delete ( void __far * );
void operator delete ( void __far *, unsigned int );
void operator delete ( void __huge * );
void operator delete ( void __huge *, unsigned int );
Show: