3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-15 13:28:47 +00:00

add virtual destructor to intermediary class in case this helps for #835

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2016-12-10 13:58:39 +01:00
parent dea3b8ddf7
commit 6594c3a046

View file

@ -220,6 +220,8 @@ namespace datalog {
*/ */
class mutator_fn : public base_fn { class mutator_fn : public base_fn {
public: public:
virtual ~mutator_fn() {}
virtual void operator()(base_object & t) = 0; virtual void operator()(base_object & t) = 0;
virtual bool supports_attachment(base_object& other) { return false; } virtual bool supports_attachment(base_object& other) { return false; }