Compiler Warning (level 4) C4432
Visual Studio 2005
Error Message
a destructor in a ref-class must have public accessibility; changing to public accessThe compiler made a destructor public. To resolve this warning, explicitly put the destructor in a public section of the class.
For more information, see Destructors and Finalizers in Visual C++.