summaryrefslogtreecommitdiff
path: root/src/smt/smt_engine.h
diff options
context:
space:
mode:
authorAbdalrhman Mohamed <32971963+abdoo8080@users.noreply.github.com>2021-03-03 04:28:45 -0600
committerGitHub <noreply@github.com>2021-03-03 10:28:45 +0000
commit6db84f6e373f9651af48df7b654e3992f68472ac (patch)
tree3c146a185ce575431ea7a63cf97a8e0bb1031c0b /src/smt/smt_engine.h
parentc4709cb01356dd73fdd767d19af85b36ffd566c4 (diff)
Remove uses of SExpr class. (#6035)
This PR is a step towards removing SExpr class. It replaces SExpr with std::string for set-info and set-option commands.
Diffstat (limited to 'src/smt/smt_engine.h')
-rw-r--r--src/smt/smt_engine.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/smt/smt_engine.h b/src/smt/smt_engine.h
index 53a5b7f2f..8974e5e60 100644
--- a/src/smt/smt_engine.h
+++ b/src/smt/smt_engine.h
@@ -218,9 +218,8 @@ class CVC4_PUBLIC SmtEngine
/**
* Set information about the script executing.
- * @throw OptionException, ModalException
*/
- void setInfo(const std::string& key, const CVC4::SExpr& value);
+ void setInfo(const std::string& key, const std::string& value);
/** Return true if given keyword is a valid SMT-LIB v2 get-info flag. */
bool isValidGetInfoFlag(const std::string& key) const;
@@ -232,7 +231,7 @@ class CVC4_PUBLIC SmtEngine
* Set an aspect of the current SMT execution environment.
* @throw OptionException, ModalException
*/
- void setOption(const std::string& key, const CVC4::SExpr& value);
+ void setOption(const std::string& key, const std::string& value);
/** Set is internal subsolver.
*
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback