summaryrefslogtreecommitdiff
path: root/sdext
diff options
context:
space:
mode:
authorTor Lillqvist <tlillqvist@suse.com>2011-10-04 16:27:13 +0300
committerTor Lillqvist <tlillqvist@suse.com>2011-10-04 17:12:05 +0300
commit1e085b43c14c8c67f3c46905eb1a8a528b900e59 (patch)
treef8e402671d6541407d206671b88c3f1b4067c913 /sdext
parent028c275a07b9ec130694cbdd15e93ae193097c21 (diff)
WaE: class has virtual functions, but destructor is not virtual
Diffstat (limited to 'sdext')
-rw-r--r--sdext/source/pdfimport/tree/treevisiting.hxx1
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;