C1068: Illegal storage class for Destructor

[ERROR]

Description

The specified destructor has an illegal storage class (static, extern).

Tips

Do not use the storage classes static and extern for destructors.