Kaydet (Commit) 1e085b43 authored tarafından Tor Lillqvist's avatar Tor Lillqvist

WaE: class has virtual functions, but destructor is not virtual

üst 028c275a
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment