summaryrefslogtreecommitdiffhomepage
path: root/misc/examples/arc_containers.c
diff options
context:
space:
mode:
authorTyge Løvset <[email protected]>2023-01-18 17:31:06 +0100
committerTyge Løvset <[email protected]>2023-01-18 18:03:25 +0100
commit5503f7a513a21f833bdba1d70973deaafb2f7a96 (patch)
tree9f17c350650ec81d8598fe68752c25cbf5115621 /misc/examples/arc_containers.c
parent90aab650b31febadcea45cfa60d0620b4d807ee9 (diff)
downloadSTC-modified-5503f7a513a21f833bdba1d70973deaafb2f7a96.tar.gz
STC-modified-5503f7a513a21f833bdba1d70973deaafb2f7a96.zip
Improved error messages.
Diffstat (limited to 'misc/examples/arc_containers.c')
-rw-r--r--misc/examples/arc_containers.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/misc/examples/arc_containers.c b/misc/examples/arc_containers.c
index 026f9eb5..bfe15150 100644
--- a/misc/examples/arc_containers.c
+++ b/misc/examples/arc_containers.c
@@ -12,7 +12,7 @@
#define i_val Map
#define i_valdrop(p) (printf("drop Arc:\n"), Map_drop(p))
// no need for atomic ref. count in single thread:
-#define i_opt c_no_atomic|c_no_lookup
+#define i_opt c_no_atomic|c_no_lookup|c_no_clone
#include <stc/carc.h>
#define i_type Stack