changeset 1829:51fd27fbce9a audio-source-refactor

Might as well use the aligning allocator here, though it'll make no real difference
author Chris Cannam
date Fri, 20 Mar 2020 16:30:16 +0000
parents 618326c4ce4b
children 5f8fbbde08ff
files base/RingBuffer.h
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/base/RingBuffer.h	Thu Mar 19 16:09:55 2020 +0000
+++ b/base/RingBuffer.h	Fri Mar 20 16:30:16 2020 +0000
@@ -158,7 +158,7 @@
     RingBuffer &operator=(const RingBuffer &) =default;
     
 protected:
-    std::vector<T> m_buffer;
+    std::vector<T, breakfastquay::StlAllocator<T>> m_buffer;
     int m_writer;
     std::vector<int> m_readers;
     int m_size;