Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 174b50fa authored by Greg Kaiser's avatar Greg Kaiser
Browse files

TreeInfo: Make ~ErrorHandler() virtual

ErrorHandler has a pure virtual function, so we also make its
destructor virtual, to assure any children classes will get
properly destructed.

Test: TreeHugger
Change-Id: Ie072511b450d507f8764b0888d232ffac8f6d6f5
parent a95435b8
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -39,7 +39,7 @@ public:
    virtual void onError(const std::string& message) = 0;

protected:
    ~ErrorHandler() {}
    virtual ~ErrorHandler() {}
};

class TreeObserver {