From: Douglas W. <dwi...@us...> - 2006-03-15 18:13:54
|
Update of /cvsroot/hugin/hugin/src/foreign/vigra In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31166/src/foreign/vigra Modified Files: codec.hxx Log Message: Add virtual destructors and re-order initialisation to reduce warnings Index: codec.hxx =================================================================== RCS file: /cvsroot/hugin/hugin/src/foreign/vigra/codec.hxx,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- codec.hxx 4 Mar 2006 23:29:56 -0000 1.3 +++ codec.hxx 15 Mar 2006 18:13:43 -0000 1.4 @@ -224,6 +224,7 @@ virtual CodecDesc getCodecDesc() const = 0; virtual std::auto_ptr<Decoder> getDecoder() const = 0; virtual std::auto_ptr<Encoder> getEncoder() const = 0; + virtual ~CodecFactory() {}; }; // factory functions to encapsulate the codec managers |