From f0f38e0f164b7e8b9132665407445d93f33be7ad Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Fri, 14 Jul 2006 07:55:14 +0000 Subject: Made everything have a virtual deconstructor. This is apparently very important. --- src/serializertext.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/serializertext.h') diff --git a/src/serializertext.h b/src/serializertext.h index c3fe202..9bead59 100644 --- a/src/serializertext.h +++ b/src/serializertext.h @@ -9,7 +9,7 @@ class SerializerText : public Serializer public: SerializerText(FILE *fhFile, bool bLoading); SerializerText(char *sFileName, bool bLoading); - ~SerializerText(); + virtual ~SerializerText(); virtual void close(); -- cgit v1.2.3