ftgf
Last edited on
Make the destructor virtual.
thanks firedraco but how do i do that? i m totally new to cpp. Please bear with me :(
All you have to do is add virtual
in front of the destructor's declaration.
DOES that mean writing like a:: virtual ~a() in the 4th line ?
Last edited on
You could suppress the specific warning, or maybe the difference between the way virtual was handled in GCC and the original C.