summaryrefslogtreecommitdiff
path: root/src/parser/smt2/Smt2.g
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/parser/smt2/Smt2.g
parent7e3457b0e16cacef456287ae761c5293be1209d5 (diff)
New C++: Remove redundant mkVar function.
s
Diffstat (limited to 'src/parser/smt2/Smt2.g')
-rw-r--r--src/parser/smt2/Smt2.g4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/parser/smt2/Smt2.g b/src/parser/smt2/Smt2.g
index c72a4f99b..81f01c138 100644
--- a/src/parser/smt2/Smt2.g
+++ b/src/parser/smt2/Smt2.g
@@ -2306,8 +2306,8 @@ termAtomic[CVC4::api::Term& atomTerm]
sortSymbol[type,CHECK_DECLARED]
sortSymbol[type2,CHECK_DECLARED]
{
- api::Term v1 = SOLVER->mkVar("_emp1", api::Sort(type));
- api::Term v2 = SOLVER->mkVar("_emp2", api::Sort(type2));
+ api::Term v1 = SOLVER->mkVar(api::Sort(type), "_emp1");
+ api::Term v2 = SOLVER->mkVar(api::Sort(type2), "_emp2");
atomTerm = SOLVER->mkTerm(api::SEP_EMP, v1, v2);
}
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback