summaryrefslogtreecommitdiffhomepage
path: root/docs/cpque_api.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/cpque_api.md')
-rw-r--r--docs/cpque_api.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/cpque_api.md b/docs/cpque_api.md
index 261c2909..07f60709 100644
--- a/docs/cpque_api.md
+++ b/docs/cpque_api.md
@@ -72,7 +72,7 @@ int main()
// Push ten million random numbers to priority queue, plus some negative ones.
c_forrange (N)
cpque_i_push(&heap, stc64_uniform(&rng, &dist));
- c_emplace_items(&heap, cpque_i, {-231, -32, -873, -4, -343});
+ c_emplace(cpque_i, heap, {-231, -32, -873, -4, -343});
// Extract and display the fifty smallest.
c_forrange (50) {