summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2014-09-28 17:48:41 +0000
committerDavid Robillard <d@drobilla.net>2014-09-28 17:48:41 +0000
commitdf41412520ae9962a3a833ccb5b2dd408abd43ed (patch)
tree795b26973014f98fd8d8ad359377c193bb51c2e4
parent50ceaeb601c46635bdaf65ef70b663290f133179 (diff)
downloadzix-df41412520ae9962a3a833ccb5b2dd408abd43ed.tar.gz
zix-df41412520ae9962a3a833ccb5b2dd408abd43ed.tar.bz2
zix-df41412520ae9962a3a833ccb5b2dd408abd43ed.zip
Enable BTree removal via iterator.
git-svn-id: http://svn.drobilla.net/zix/trunk@92 df6676b4-ccc9-40e5-b5d6-7c4628a128e3
-rw-r--r--test/tree_bench.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/tree_bench.c b/test/tree_bench.c
index 8df9e5a..d459268 100644
--- a/test/tree_bench.c
+++ b/test/tree_bench.c
@@ -1,5 +1,5 @@
/*
- Copyright 2011 David Robillard <http://drobilla.net>
+ Copyright 2011-2014 David Robillard <http://drobilla.net>
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted, provided that the above
@@ -188,7 +188,7 @@ bench_zix_btree(size_t n_elems,
for (size_t i = 0; i < n_elems; i++) {
r = unique_rand(i);
void* removed;
- if (zix_btree_remove(t, (void*)r, &removed)) {
+ if (zix_btree_remove(t, (void*)r, &removed, NULL)) {
return test_fail("Failed to remove %zu\n", r);
}
}