Compile warnings - non-virtual destructo
Brought to you by:
jotto
Compiling with gcc 2.95.4 yields:
In file included from main.cpp:6:
customhellogenerator.h:31: warning: `class
CustomHelloGenerator' has virtual functions but
non-virtual destructor
In file included from customhellogenerator.cpp:2:
customhellogenerator.h:31: warning: `class
CustomHelloGenerator' has virtual functions but
non-virtual destructor
Logged In: YES
user_id=539832
In fact there are no destructors, as there are no
dynamically allocated objects in any of the classes. Thus
these warnings have no effect.
Empty virtual destructors will be added in OpenHelloWorld
v1.0.1 to get rid of these warnings.