'identifier' : illegal static destructor declaration
The specified destructor was declared as static.
Destructors cannot be declared as static.