Commit 736385c0 authored by Simon Pilgrim's avatar Simon Pilgrim
Browse files

EHScopeStack::Cleanup has virtual functions so the destructor should be too.

Fixes cppcheck warning.
parent d0d38df0
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -148,7 +148,7 @@ public:
    virtual void anchor();

  protected:
    ~Cleanup() = default;
    virtual ~Cleanup() = default;

  public:
    Cleanup(const Cleanup &) = default;