diff options
author | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2009-01-15 12:07:38 +0100 |
---|---|---|
committer | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2009-01-15 12:07:38 +0100 |
commit | d16962910d215ddb0875224a39dfb8d94facfba7 (patch) | |
tree | 096e5e245743ed27464cc593c22e04bbb22a8c55 | |
parent | ccf932be1767b167bcabed50720b2b71322f94e4 (diff) |
add virtual destructors for PSParser and PSWriter
-rw-r--r-- | src/Postscript.H | 2 |
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); }; |