diff options
Diffstat (limited to 'test/system')
-rw-r--r-- | test/system/ouroborous.cpp | 3 | ||||
-rw-r--r-- | test/system/smt2_compliance.cpp | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/test/system/ouroborous.cpp b/test/system/ouroborous.cpp index fd06517a9..dd6cbccb8 100644 --- a/test/system/ouroborous.cpp +++ b/test/system/ouroborous.cpp @@ -29,6 +29,7 @@ #include <string> #include "expr/expr.h" +#include "options/set_language.h" #include "parser/parser.h" #include "parser/parser_builder.h" #include "smt_util/command.h" @@ -69,7 +70,7 @@ string translate(string in, InputLanguage inlang, OutputLanguage outlang) { psr->setInput(Input::newStringInput(inlang, in, "internal-buffer")); Expr e = psr->nextExpression(); stringstream ss; - ss << Expr::setlanguage(outlang) << Expr::setdepth(-1) << e; + ss << language::SetLanguage(outlang) << Expr::setdepth(-1) << e; assert(psr->nextExpression().isNull());// next expr should be null assert(psr->done());// parser should be done string s = ss.str(); diff --git a/test/system/smt2_compliance.cpp b/test/system/smt2_compliance.cpp index 108e30b5c..99b4c625c 100644 --- a/test/system/smt2_compliance.cpp +++ b/test/system/smt2_compliance.cpp @@ -19,6 +19,7 @@ #include <sstream> #include "expr/expr_manager.h" +#include "options/set_language.h" #include "options/smt_options.h" #include "parser/parser.h" #include "parser/parser_builder.h" @@ -36,7 +37,7 @@ int main() { opts.set(options::inputLanguage, language::input::LANG_SMTLIB_V2); opts.set(options::outputLanguage, language::output::LANG_SMTLIB_V2); - cout << Expr::setlanguage(language::output::LANG_SMTLIB_V2); + cout << language::SetLanguage(language::output::LANG_SMTLIB_V2); ExprManager em(opts); SmtEngine smt(&em); |