3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-12 12:08:18 +00:00

adding virtual destructor

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2022-11-02 09:37:55 -07:00
parent 41b87b4c42
commit 0d97d2214c

View file

@ -39,6 +39,7 @@ Author:
*/ */
class dependent_expr_state { class dependent_expr_state {
public: public:
virtual ~dependent_expr_state() {}
virtual unsigned size() const = 0; virtual unsigned size() const = 0;
virtual dependent_expr const& operator[](unsigned i) = 0; virtual dependent_expr const& operator[](unsigned i) = 0;
virtual void update(unsigned i, dependent_expr const& j) = 0; virtual void update(unsigned i, dependent_expr const& j) = 0;