summaryrefslogtreecommitdiff
path: root/src/api/cvc4cpp.h
diff options
context:
space:
mode:
authorAina Niemetz <aina.niemetz@gmail.com>2019-03-18 15:05:00 -0700
committerAina Niemetz <aina.niemetz@gmail.com>2019-03-18 17:26:29 -0700
commita4f76da78653e80c28740b2ad4bf3929110d5a25 (patch)
tree6bf777ff332d8a9e760ce98d0a7e88752929bfd1 /src/api/cvc4cpp.h
parent7e3457b0e16cacef456287ae761c5293be1209d5 (diff)
New C++: Remove redundant mkVar function.
s
Diffstat (limited to 'src/api/cvc4cpp.h')
-rw-r--r--src/api/cvc4cpp.h11
1 files changed, 2 insertions, 9 deletions
diff --git a/src/api/cvc4cpp.h b/src/api/cvc4cpp.h
index 2c266b11d..3999dd2ed 100644
--- a/src/api/cvc4cpp.h
+++ b/src/api/cvc4cpp.h
@@ -2167,18 +2167,11 @@ class CVC4_PUBLIC Solver
/**
* Create variable.
- * @param symbol the name of the variable
- * @param sort the sort of the variable
- * @return the variable
- */
- Term mkVar(const std::string& symbol, Sort sort) const;
-
- /**
- * Create variable.
* @param sort the sort of the variable
+ * @param symbol the name of the variable
* @return the variable
*/
- Term mkVar(Sort sort) const;
+ Term mkVar(Sort sort, const std::string& symbol = std::string()) const;
/**
* Create bound variable.
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback