summaryrefslogtreecommitdiff
path: root/src/smt_util
diff options
context:
space:
mode:
Diffstat (limited to 'src/smt_util')
-rw-r--r--src/smt_util/command.cpp4
-rw-r--r--src/smt_util/command.h4
-rw-r--r--src/smt_util/model.h2
3 files changed, 6 insertions, 4 deletions
diff --git a/src/smt_util/command.cpp b/src/smt_util/command.cpp
index 464a2e0aa..ae4e1f1f0 100644
--- a/src/smt_util/command.cpp
+++ b/src/smt_util/command.cpp
@@ -23,6 +23,7 @@
#include <utility>
#include <vector>
+#include "base/cvc4_assert.h"
#include "base/output.h"
#include "expr/node.h"
#include "expr/sexpr.h"
@@ -939,7 +940,8 @@ GetValueCommand::GetValueCommand(Expr term) throw() :
GetValueCommand::GetValueCommand(const std::vector<Expr>& terms) throw() :
d_terms(terms) {
- CheckArgument(terms.size() >= 1, terms, "cannot get-value of an empty set of terms");
+ PrettyCheckArgument(terms.size() >= 1, terms,
+ "cannot get-value of an empty set of terms");
}
const std::vector<Expr>& GetValueCommand::getTerms() const throw() {
diff --git a/src/smt_util/command.h b/src/smt_util/command.h
index b35fb7a7f..17d65beb2 100644
--- a/src/smt_util/command.h
+++ b/src/smt_util/command.h
@@ -22,11 +22,11 @@
#ifndef __CVC4__COMMAND_H
#define __CVC4__COMMAND_H
-#include <iostream>
+#include <iosfwd>
+#include <map>
#include <sstream>
#include <string>
#include <vector>
-#include <map>
#include "expr/datatype.h"
#include "expr/expr.h"
diff --git a/src/smt_util/model.h b/src/smt_util/model.h
index 98794a53d..33a9312a6 100644
--- a/src/smt_util/model.h
+++ b/src/smt_util/model.h
@@ -17,7 +17,7 @@
#ifndef __CVC4__MODEL_H
#define __CVC4__MODEL_H
-#include <iostream>
+#include <iosfwd>
#include <vector>
#include "expr/expr.h"
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback