Skip to content

Commit

Permalink
base -> core
Browse files Browse the repository at this point in the history
  • Loading branch information
NikolajBjorner committed Nov 30, 2021
1 parent 959f4c9 commit b5efb87
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/solver/solver.h
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ solver* mk_smt2_solver(ast_manager& m, params_ref const& p);
- statistics
- results based on check_sat_result API
*/
class solver : public check_sat_result, public user_propagator::base{
class solver : public check_sat_result, public user_propagator::core {
params_ref m_params;
symbol m_cancel_backup_file;
public:
Expand Down
4 changes: 2 additions & 2 deletions src/tactic/tactic.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@ Module Name:
--*/
#pragma once

#include "tactic/goal.h"
#include "util/params.h"
#include "util/lbool.h"
#include "util/statistics.h"
#include "tactic/goal.h"
#include "tactic/tactic_exception.h"
#include "util/lbool.h"

class progress_callback;

Expand Down
5 changes: 2 additions & 3 deletions src/tactic/user_propagator_base.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ namespace user_propagator {
typedef std::function<void(void*,unsigned)> pop_eh_t;


class base {
class core {
public:

virtual void user_propagate_init(
Expand All @@ -33,8 +33,7 @@ namespace user_propagator {
pop_eh_t& pop_eh,
fresh_eh_t& fresh_eh) {
throw default_exception("user-propagators are only supported on the SMT solver");
}

}

virtual void user_propagate_register_fixed(fixed_eh_t& fixed_eh) {
throw default_exception("user-propagators are only supported on the SMT solver");
Expand Down

0 comments on commit b5efb87

Please sign in to comment.