summaryrefslogtreecommitdiff
path: root/src/theory/builtin/theory_builtin.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/theory/builtin/theory_builtin.h')
-rw-r--r--src/theory/builtin/theory_builtin.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/theory/builtin/theory_builtin.h b/src/theory/builtin/theory_builtin.h
index d240f4f63..bf99003ec 100644
--- a/src/theory/builtin/theory_builtin.h
+++ b/src/theory/builtin/theory_builtin.h
@@ -19,6 +19,7 @@
#ifndef CVC4__THEORY__BUILTIN__THEORY_BUILTIN_H
#define CVC4__THEORY__BUILTIN__THEORY_BUILTIN_H
+#include "theory/builtin/theory_builtin_rewriter.h"
#include "theory/theory.h"
namespace CVC4 {
@@ -34,12 +35,16 @@ class TheoryBuiltin : public Theory
Valuation valuation,
const LogicInfo& logicInfo);
- std::unique_ptr<TheoryRewriter> mkTheoryRewriter() override;
+ TheoryRewriter* getTheoryRewriter() override { return &d_rewriter; }
std::string identify() const override;
/** finish initialization */
void finishInit() override;
+
+ private:
+ /** The theory rewriter for this theory. */
+ TheoryBuiltinRewriter d_rewriter;
}; /* class TheoryBuiltin */
} // namespace builtin
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback