Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

Compiler Warning (level 4) C4432

 

a destructor in a ref-class must have public accessibility; changing to public access

The 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.

Show: