Re: warning workarounds, gcc4
Jaakko Niemi <[email protected]> Wed, 27 Jul 2005 22:43:08 +0300
| Newsgroups | gmane.comp.file-systems.sfs.general |
|---|---|
| Message-ID | <[email protected]> |
On Wed, 27 Jul 2005, Jaakko Niemi wrote:
> blowfish.h:31: warning: 'class block64cipher' has virtual functions but non-virtual destructor
>
> --- sfs1-june/crypt/blowfish.h 1999-03-26 08:21:01.000000000 +0200
> +++ sfs1/crypt/blowfish.h 2005-07-27 01:38:25.000000000 +0300
> @@ -30,6 +30,7 @@
>
> class block64cipher {
> public:
> + virtual ~block64cipher ();
Duh, make that:
+ virtual ~block64cipher () {}
--j