summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/sets-translate/sets_translate.cpp3
-rw-r--r--examples/simple_vc_compat_c.c3
2 files changed, 4 insertions, 2 deletions
diff --git a/examples/sets-translate/sets_translate.cpp b/examples/sets-translate/sets_translate.cpp
index 6f1de6b00..f099b017a 100644
--- a/examples/sets-translate/sets_translate.cpp
+++ b/examples/sets-translate/sets_translate.cpp
@@ -20,6 +20,7 @@
#include <iostream>
#include <string>
#include <typeinfo>
+#include <unordered_map>
#include <vector>
#include "expr/expr.h"
@@ -83,7 +84,7 @@ class Mapper {
set< Type > setTypes;
map< Type, Type > mapTypes;
map< pair<Type, Kind>, Expr > setoperators;
- hash_map< Expr, Expr, ExprHashFunction > substitutions;
+ unordered_map< Expr, Expr, ExprHashFunction > substitutions;
ostringstream sout;
ExprManager* em;
int depth;
diff --git a/examples/simple_vc_compat_c.c b/examples/simple_vc_compat_c.c
index 5f0c183b7..46ca66e44 100644
--- a/examples/simple_vc_compat_c.c
+++ b/examples/simple_vc_compat_c.c
@@ -19,7 +19,8 @@
#include <stdio.h>
#include <stdlib.h>
-/* #include <cvc4/bindings/compat/c/c_interface.h> /* use this after CVC4 is properly installed */
+// Use this after CVC4 is properly installed.
+// #include <cvc4/bindings/compat/c/c_interface.h>
#include "bindings/compat/c/c_interface.h"
int main() {
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback