destructors do not take parameters
You attempted to use a destructor with parameters. Rewrite the statement without parameters.