diff options
author | Tor Lillqvist <tlillqvist@suse.com> | 2011-10-04 16:27:13 +0300 |
---|---|---|
committer | Tor Lillqvist <tlillqvist@suse.com> | 2011-10-04 17:12:05 +0300 |
commit | 1e085b43c14c8c67f3c46905eb1a8a528b900e59 (patch) | |
tree | f8e402671d6541407d206671b88c3f1b4067c913 /sdext | |
parent | 028c275a07b9ec130694cbdd15e93ae193097c21 (diff) |
WaE: class has virtual functions, but destructor is not virtual
Diffstat (limited to 'sdext')
-rw-r--r-- | sdext/source/pdfimport/tree/treevisiting.hxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sdext/source/pdfimport/tree/treevisiting.hxx b/sdext/source/pdfimport/tree/treevisiting.hxx index b62340a7b9f8..73b3f2499a92 100644 --- a/sdext/source/pdfimport/tree/treevisiting.hxx +++ b/sdext/source/pdfimport/tree/treevisiting.hxx @@ -63,6 +63,7 @@ namespace pdfi virtual void visit( ImageElement&, const std::list< Element* >::const_iterator& ) = 0; virtual void visit( PageElement&, const std::list< Element* >::const_iterator& ) = 0; virtual void visit( DocumentElement&, const std::list< Element* >::const_iterator& ) = 0; + virtual ~ElementTreeVisitor() = 0 { }; }; typedef boost::shared_ptr<ElementTreeVisitor> ElementTreeVisitorSharedPtr; |