summaryrefslogtreecommitdiffhomepage
path: root/misc/examples/smartpointers/box.c
diff options
context:
space:
mode:
Diffstat (limited to 'misc/examples/smartpointers/box.c')
-rw-r--r--misc/examples/smartpointers/box.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/misc/examples/smartpointers/box.c b/misc/examples/smartpointers/box.c
index 94d126c0..5c8018d4 100644
--- a/misc/examples/smartpointers/box.c
+++ b/misc/examples/smartpointers/box.c
@@ -30,6 +30,7 @@ void Person_drop(Person* p) {
#define i_type PBox
#define i_keyclass Person // "class" binds _cmp, _clone, _drop functions.
+#define i_use_cmp
#include <stc/cbox.h>
#define i_type Persons