diff --git a/src/common/memory_pool.h b/src/common/memory_pool.h index 1099e62f..90ca59d7 100644 --- a/src/common/memory_pool.h +++ b/src/common/memory_pool.h @@ -21,9 +21,12 @@ public: Pool(size_t object_size, size_t initial_pool_size); ~Pool(); - Pool(Pool&) = delete; + Pool(const Pool&) = delete; Pool(Pool&&) = delete; + Pool& operator=(const Pool&) = delete; + Pool& operator=(Pool&&) = delete; + /// Returns a pointer to an `object_size`-bytes block of memory. void* Alloc();