Skip to content

Commit

Permalink
missing virtual functions
Browse files Browse the repository at this point in the history
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
  • Loading branch information
NikolajBjorner committed Jul 2, 2022
1 parent 4f9ef12 commit 06771d1
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
3 changes: 3 additions & 0 deletions src/solver/parallel_tactic.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,9 @@ class non_parallel_tactic : public tactic {
void operator()(const goal_ref & g,goal_ref_buffer & result) override {
throw default_exception("parallel tactic is disabled in single threaded mode");
}
tactic * translate(ast_manager & m) override { return nullptr; }
void cleanup() override {}

};

#ifdef SINGLE_THREAD
Expand Down
8 changes: 6 additions & 2 deletions src/tactic/tactical.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -429,7 +429,9 @@ class no_par_tactical : public tactic {
char const* name() const override { return "par"; }
void operator()(goal_ref const & in, goal_ref_buffer& result) override {
throw default_exception("par_tactical is unavailable in single threaded mode");
}
}
tactic * translate(ast_manager & m) override { return nullptr; }
void cleanup() override {}
};

#ifdef SINGLE_THREAD
Expand Down Expand Up @@ -589,7 +591,9 @@ class no_par_and_then_tactical : public tactic {
char const* name() const override { return "par_then"; }
void operator()(goal_ref const & in, goal_ref_buffer& result) override {
throw default_exception("par_and_then is not available in single threaded mode");
}
}
tactic * translate(ast_manager & m) override { return nullptr; }
void cleanup() override {}
};


Expand Down

0 comments on commit 06771d1

Please sign in to comment.