summaryrefslogtreecommitdiff
path: root/examples/hashsmt/word.cpp
diff options
context:
space:
mode:
authorAina Niemetz <aina.niemetz@gmail.com>2021-03-31 15:23:17 -0700
committerGitHub <noreply@github.com>2021-03-31 22:23:17 +0000
commita1466978fbc328507406d4a121dab4d1a1047e1d (patch)
tree12b40f161bb4d7a6ee40c20c78a15d6cda3c1995 /examples/hashsmt/word.cpp
parentf9a9af855fb65804ff0b36e764ccd9d0fa9f87f8 (diff)
Rename namespace CVC4 to CVC5. (#6249)
Diffstat (limited to 'examples/hashsmt/word.cpp')
-rw-r--r--examples/hashsmt/word.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/examples/hashsmt/word.cpp b/examples/hashsmt/word.cpp
index 4d86d062e..5fd5b7979 100644
--- a/examples/hashsmt/word.cpp
+++ b/examples/hashsmt/word.cpp
@@ -33,8 +33,8 @@
using namespace std;
using namespace hashsmt;
-using namespace CVC4;
-using namespace CVC4::options;
+using namespace CVC5;
+using namespace CVC5::options;
Expr Word::extendToSize(unsigned newSize) const {
if (newSize <= size()) {
@@ -50,10 +50,10 @@ ExprManager* Word::s_manager = 0;
ExprManager* Word::em() {
if (s_manager == 0) {
- CVC4::Options options;
+ CVC5::Options options;
options.setInputLanguage(language::input::LANG_SMTLIB_V2);
options.setOutputLanguage(language::output::LANG_SMTLIB_V2);
- s_manager = new CVC4::ExprManager(options);
+ s_manager = new CVC5::ExprManager(options);
}
return s_manager;
}
@@ -71,7 +71,7 @@ Word Word::concat(const Word words[], unsigned size) {
}
void Word::print(ostream& out) const {
- out << CVC4::expr::ExprSetDepth(-1) << d_expr;
+ out << CVC5::expr::ExprSetDepth(-1) << d_expr;
}
Word::Word(unsigned newSize, unsigned value) {
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback