Mercurial > hg > svcore
diff base/RingBuffer.h @ 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 | 6e218407f0cf |
children |
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;