mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-25 01:41:43 +00:00
wpiutil: uv: Remove copy from SimpleBufferPool (#1680)
This commit is contained in:
committed by
Peter Johnson
parent
620bec9cae
commit
1726b77ac5
@@ -108,6 +108,9 @@ class SimpleBufferPool {
|
||||
*/
|
||||
explicit SimpleBufferPool(size_t size = 4096) : m_size{size} {}
|
||||
|
||||
SimpleBufferPool(const SimpleBufferPool& other) = delete;
|
||||
SimpleBufferPool& operator=(const SimpleBufferPool& other) = delete;
|
||||
|
||||
/**
|
||||
* Allocate a buffer.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user