summaryrefslogtreecommitdiffhomepage
path: root/include/stc/cqueue.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/stc/cqueue.h')
-rw-r--r--include/stc/cqueue.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/stc/cqueue.h b/include/stc/cqueue.h
index 37d18fba..99afc296 100644
--- a/include/stc/cqueue.h
+++ b/include/stc/cqueue.h
@@ -35,7 +35,7 @@
stc64_t rng = stc64_init(1234);
stc64_uniform_t dist = stc64_uniform_init(rng, 0, n);
- c_with (cqueue_i queue = cqueue_i_init(), cqueue_i_del(&queue))
+ c_fordefer (cqueue_i queue = cqueue_i_init(), cqueue_i_del(&queue))
{
// Push ten million random numbers onto the queue.
for (int i=0; i<n; ++i)