Merge pull request #64 from norbertwenzel/virtual_dtor_cleanup
Fix missing virtual destructor warnings
This commit is contained in:
commit
2d35e3964d
|
@ -100,6 +100,8 @@ public:
|
|||
ComputeQuality();
|
||||
ComputeAngle();
|
||||
}
|
||||
// enforce virtual dtor for this class and all subclasses
|
||||
virtual ~TrivialEar() = default;
|
||||
|
||||
/// Compute the angle of the two edges of the ear.
|
||||
// it tries to make the computation in a precision safe way.
|
||||
|
|
|
@ -355,7 +355,7 @@ struct Property : IElementProperty
|
|||
};
|
||||
|
||||
|
||||
struct Element : IElement
|
||||
struct Element final : IElement
|
||||
{
|
||||
IElement* getFirstChild() const override { return child; }
|
||||
IElement* getSibling() const override { return sibling; }
|
||||
|
|
Loading…
Reference in New Issue