mirror of
https://github.com/PurpleI2P/i2pd
synced 2024-11-10 00:00:29 +03:00
added missed invariant for MemoryPool
This commit is contained in:
parent
8e3c9410dc
commit
346bf14b7b
@ -33,6 +33,8 @@ namespace util
|
||||
template<class T>
|
||||
class MemoryPool
|
||||
{
|
||||
BOOST_STATIC_ASSERT_MSG(sizeof(T) >= sizeof(void*), "size cannot be less that general pointer size");
|
||||
|
||||
public:
|
||||
|
||||
MemoryPool (): m_Head (nullptr) {}
|
||||
|
Loading…
Reference in New Issue
Block a user