aboutsummaryrefslogtreecommitdiffstats
path: root/alc/ringbuffer.cpp
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2020-01-10 07:56:43 -0800
committerChris Robinson <[email protected]>2020-01-10 07:56:43 -0800
commite6e2f509f871061ec917951fb77021856a9a0263 (patch)
tree5423d2f46e0fee6021879e17e91569f12ac3d44d /alc/ringbuffer.cpp
parentb31886ad73937be071409388cb0b8515754a09f1 (diff)
Make CreateRingBuffer a static RingBuffer method
Diffstat (limited to 'alc/ringbuffer.cpp')
-rw-r--r--alc/ringbuffer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/alc/ringbuffer.cpp b/alc/ringbuffer.cpp
index 1f72f4b1..2918ce97 100644
--- a/alc/ringbuffer.cpp
+++ b/alc/ringbuffer.cpp
@@ -30,7 +30,7 @@
#include "almalloc.h"
-RingBufferPtr CreateRingBuffer(size_t sz, size_t elem_sz, int limit_writes)
+RingBufferPtr RingBuffer::Create(size_t sz, size_t elem_sz, int limit_writes)
{
size_t power_of_two{0u};
if(sz > 0)