summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJohannes Hofmann <Johannes.Hofmann@gmx.de>2009-01-15 12:07:38 +0100
committerJohannes Hofmann <Johannes.Hofmann@gmx.de>2009-01-15 12:07:38 +0100
commitd16962910d215ddb0875224a39dfb8d94facfba7 (patch)
tree096e5e245743ed27464cc593c22e04bbb22a8c55 /src
parentccf932be1767b167bcabed50720b2b71322f94e4 (diff)
add virtual destructors for PSParser and PSWriter
Diffstat (limited to 'src')
-rw-r--r--src/Postscript.H2
1 files changed, 2 insertions, 0 deletions
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);
};