summaryrefslogtreecommitdiff
path: root/src/theory/theory.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/theory/theory.h')
-rw-r--r--src/theory/theory.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/theory/theory.h b/src/theory/theory.h
index f5b1e9b44..efa67d6c4 100644
--- a/src/theory/theory.h
+++ b/src/theory/theory.h
@@ -13,6 +13,8 @@
** Base of the theory interface.
**/
+#include "cvc4_private.h"
+
#ifndef __CVC4__THEORY__THEORY_H
#define __CVC4__THEORY__THEORY_H
@@ -282,9 +284,8 @@ protected:
template <class T>
Node TheoryImpl<T>::get() {
- Warning.printf("testing %s == %s\n", typeid(*this).name(), typeid(T).name());
- /*Assert(typeid(*this) == typeid(T),
- "Improper Theory inheritance chain detected.");*/
+ Assert(typeid(*this) == typeid(T),
+ "Improper Theory inheritance chain detected.");
Assert( !d_facts.empty(),
"Theory::get() called with assertion queue empty!" );
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback