summaryrefslogtreecommitdiffhomepage
path: root/examples/share_ptr.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/share_ptr.c')
-rw-r--r--examples/share_ptr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/share_ptr.c b/examples/share_ptr.c
index 18739d29..9387bd61 100644
--- a/examples/share_ptr.c
+++ b/examples/share_ptr.c
@@ -20,8 +20,8 @@ int Person_compare(const Person* p, const Person* q) {
}
using_csptr(pe, Person, Person_compare, Person_del);
-using_clist(pe, csptr_pe, csptr_pe_compare, csptr_pe_del);
-using_cvec(pe, csptr_pe, csptr_pe_compare, csptr_pe_del);
+using_clist(pe, csptr_pe, csptr_pe_compare, csptr_pe_del, csptr_pe_clone);
+using_cvec(pe, csptr_pe, csptr_pe_compare, csptr_pe_del, csptr_pe_clone);
int main() {
clist_pe queue = clist_pe_init();