summaryrefslogtreecommitdiff
path: root/examples/api/helloworld-new.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/api/helloworld-new.cpp')
-rw-r--r--examples/api/helloworld-new.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/api/helloworld-new.cpp b/examples/api/helloworld-new.cpp
index 484995143..3e3c7426b 100644
--- a/examples/api/helloworld-new.cpp
+++ b/examples/api/helloworld-new.cpp
@@ -24,7 +24,7 @@ using namespace CVC4::api;
int main()
{
Solver slv;
- Term helloworld = slv.mkVar("Hello World!", slv.getBooleanSort());
+ Term helloworld = slv.mkVar(slv.getBooleanSort(), "Hello World!");
std::cout << helloworld << " is " << slv.checkValidAssuming(helloworld)
<< std::endl;
return 0;
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback