From d16962910d215ddb0875224a39dfb8d94facfba7 Mon Sep 17 00:00:00 2001 From: Johannes Hofmann Date: Thu, 15 Jan 2009 12:07:38 +0100 Subject: add virtual destructors for PSParser and PSWriter --- src/Postscript.H | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') diff --git a/src/Postscript.H b/src/Postscript.H index ece0481..d42b344 100644 --- a/src/Postscript.H +++ b/src/Postscript.H @@ -22,6 +22,7 @@ class PSParser { public: PSParser(PSEditModel *p); + virtual ~PSParser() {}; virtual int parse(char *line); }; @@ -66,6 +67,7 @@ class PSWriter { public: PSWriter(PSEditModel *p); + virtual ~PSWriter() {}; int write(FILE *in, FILE *out); }; -- cgit v1.2.3