diff options
author | Aina Niemetz <aina.niemetz@gmail.com> | 2019-02-13 12:52:17 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-02-13 12:52:17 -0800 |
commit | 549fe66e9cd274784edac47203b832ff7797834f (patch) | |
tree | 3108cf767b0949427501124975d5856145f4c87e /examples | |
parent | 83cd4823d6bf8e0c8e7d82afbfac824744491762 (diff) |
New C++ API: Remove redundant declareFun function. (#2837)
Diffstat (limited to 'examples')
-rw-r--r-- | examples/api/datatypes-new.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/api/datatypes-new.cpp b/examples/api/datatypes-new.cpp index 14ddcd383..58b23bcc2 100644 --- a/examples/api/datatypes-new.cpp +++ b/examples/api/datatypes-new.cpp @@ -115,7 +115,7 @@ void test(Solver& slv, Sort& consListSort) } } - Term a = slv.declareFun("a", paramConsIntListSort); + Term a = slv.declareConst("a", paramConsIntListSort); std::cout << "term " << a << " is of sort " << a.getSort() << std::endl; Term head_a = slv.mkTerm( |