summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Reynolds <andrew.j.reynolds@gmail.com>2020-08-21 19:55:06 -0500
committerGitHub <noreply@github.com>2020-08-21 17:55:06 -0700
commit413da163bd36c8a9651308d7249e9aaf811872af (patch)
treed678e8f5d4b1258bad9ca2f4287bddd1b7792ac3
parent45fd2390beab04e560508d83c99492490c2d8d57 (diff)
Remove unecessary theory model builder base class (#4933)
-rw-r--r--src/smt/model.h7
-rw-r--r--src/theory/theory_model_builder.h4
2 files changed, 2 insertions, 9 deletions
diff --git a/src/smt/model.h b/src/smt/model.h
index 1f7c5daae..8f4409b07 100644
--- a/src/smt/model.h
+++ b/src/smt/model.h
@@ -119,13 +119,6 @@ class Model {
bool d_isKnownSat;
};/* class Model */
-class ModelBuilder {
-public:
- ModelBuilder() { }
- virtual ~ModelBuilder() { }
- virtual bool buildModel(Model* m) = 0;
-};/* class ModelBuilder */
-
}/* CVC4 namespace */
#endif /* CVC4__MODEL_H */
diff --git a/src/theory/theory_model_builder.h b/src/theory/theory_model_builder.h
index caf8bd6b8..0be92c95c 100644
--- a/src/theory/theory_model_builder.h
+++ b/src/theory/theory_model_builder.h
@@ -38,7 +38,7 @@ namespace theory {
* this will set up the data structures in TheoryModel to represent
* a model for the current set of assertions.
*/
-class TheoryEngineModelBuilder : public ModelBuilder
+class TheoryEngineModelBuilder
{
typedef std::unordered_map<Node, Node, NodeHashFunction> NodeMap;
typedef std::unordered_set<Node, NodeHashFunction> NodeSet;
@@ -67,7 +67,7 @@ class TheoryEngineModelBuilder : public ModelBuilder
* builder in steps (2) or (5), for instance, if the model we
* are building fails to satisfy a quantified formula.
*/
- bool buildModel(Model* m) override;
+ bool buildModel(Model* m);
/** postprocess model
*
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback