summaryrefslogtreecommitdiffhomepage
path: root/misc/examples/arc_containers.c
diff options
context:
space:
mode:
authorTyge Løvset <[email protected]>2023-02-18 07:51:44 +0100
committerTyge Løvset <[email protected]>2023-02-18 07:51:44 +0100
commit0e3d07dbd991c1f1a691b24655c37ddab660a9d9 (patch)
treedc9801e2fc9f62cbe3eb32cc8897c65e3f25f78b /misc/examples/arc_containers.c
parentc4ae61de5be08e719e3183f4e2d1115c11856796 (diff)
downloadSTC-modified-0e3d07dbd991c1f1a691b24655c37ddab660a9d9.tar.gz
STC-modified-0e3d07dbd991c1f1a691b24655c37ddab660a9d9.zip
Fixed carc, cbox: no need for no_lookup and no_eq: use only no_cmp, no_hash if needed.
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 201c73d5..b621c386 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|c_no_clone
+#define i_opt c_no_atomic|c_no_cmp|c_no_clone
#include <stc/carc.h>
#define i_type Stack