[ERROR]
A redeclaration of a constructor/destructor is done without parenthesis.
struct A {
~A();
};
A::~A; // error
A::~A(); // ok
Add parenthesis to the redeclaration of the constructor/destructor.