mantheman / libsquish

Automatically exported from code.google.com/p/libsquish
MIT License
0 stars 0 forks source link

Compile warnings are generated due to missing virtual destructors #6

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Compile code
2. Warning: class has virtual functions but non-virtual destructor
2.1 files: ColourFit, ClusterFit, RangeFit, SingleColourFit

What is the expected output? What do you see instead?
Code should compile without warnings

What version of the product are you using? On what operating system?
Mac OS X 10.5.6
i686-apple-darwin9-gcc-4.0.1

Issue can be fixed by adding an empty virtual destructor to ColourFit
virtual ~ColourFit() { }

Original issue reported on code.google.com by Tommy.Ma...@gmail.com on 2 Apr 2009 at 3:48

GoogleCodeExporter commented 9 years ago
Thanks for the report, this is fixed in the head revision.

Original comment by sidm...@gmail.com on 2 Apr 2009 at 6:47