summaryrefslogtreecommitdiffhomepage
path: root/examples/priority.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/priority.c')
-rw-r--r--examples/priority.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/priority.c b/examples/priority.c
index ed7db584..ec26cb15 100644
--- a/examples/priority.c
+++ b/examples/priority.c
@@ -20,7 +20,7 @@ int main() {
cpque_i_push(&heap, stc64_uniform(&rng, &dist));
// push some negative numbers too.
- c_emplace_items(&heap, cpque_i, {-231, -32, -873, -4, -343});
+ c_emplace(cpque_i, heap, {-231, -32, -873, -4, -343});
c_forrange (N)
cpque_i_push(&heap, stc64_uniform(&rng, &dist));