summaryrefslogtreecommitdiffhomepage
path: root/misc/examples/smartpointers/music_arc.c
diff options
context:
space:
mode:
Diffstat (limited to 'misc/examples/smartpointers/music_arc.c')
-rw-r--r--misc/examples/smartpointers/music_arc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/misc/examples/smartpointers/music_arc.c b/misc/examples/smartpointers/music_arc.c
index 13d368c3..e9ebbbfe 100644
--- a/misc/examples/smartpointers/music_arc.c
+++ b/misc/examples/smartpointers/music_arc.c
@@ -23,7 +23,7 @@ void Song_drop(Song* s) {
// Define the shared pointer:
#define i_type SongArc
#define i_keyclass Song
-#define i_no_hash // no hash fn for Song, fallback hash pointer to Song.
+#define i_opt c_use_cmp|c_no_hash
#include <stc/carc.h>
// ... and a vector of them
@@ -64,4 +64,4 @@ void example3(void)
int main(void)
{
example3();
-}
+} \ No newline at end of file