'destructor' : destructors must have a 'void' parameter list
The destructor had a parameter list that is not void. Other parameter types are not allowed. The following code reproduces C2524:
class A { A() { } ~A(int i) { // use the line below to resolve the error // ~A() { } };