wpiutil: uv: Remove copy from SimpleBufferPool (#1680)

This commit is contained in:
Thad House
2019-05-07 20:55:58 -07:00
committed by Peter Johnson
parent 620bec9cae
commit 1726b77ac5
2 changed files with 5 additions and 1 deletions

View File

@@ -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.
*/