diff options
| author | gingerBill <gingerBill@users.noreply.github.com> | 2025-10-30 10:54:26 +0000 |
|---|---|---|
| committer | gingerBill <gingerBill@users.noreply.github.com> | 2025-10-30 10:54:26 +0000 |
| commit | 35a28053b8779ea7ab9845c31ad52fd55888667a (patch) | |
| tree | 0808c843adc86b33da72bfa2739ca0f5597a6532 /src/queue.cpp | |
| parent | bb44b02b3e220d7019aba8b547a6d3e6fbd49dba (diff) | |
| parent | 074a8d7df5e024117d7f91944ccf053cad27ca0e (diff) | |
Merge branch 'master' into vendor/curl
Diffstat (limited to 'src/queue.cpp')
| -rw-r--r-- | src/queue.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/queue.cpp b/src/queue.cpp index dee9ad1f8..82f82f3e1 100644 --- a/src/queue.cpp +++ b/src/queue.cpp @@ -36,7 +36,8 @@ gb_internal void mpsc_destroy(MPSCQueue<T> *q) { template <typename T> gb_internal MPSCNode<T> *mpsc_alloc_node(MPSCQueue<T> *q, T const &value) { - auto new_node = gb_alloc_item(heap_allocator(), MPSCNode<T>); + // auto new_node = gb_alloc_item(heap_allocator(), MPSCNode<T>); + auto new_node = gb_alloc_item(permanent_allocator(), MPSCNode<T>); new_node->value = value; return new_node; } |