pool: don't forget to initialise the store pointer in move construction

This commit is contained in:
Danny Robson 2019-05-27 10:57:35 +10:00
parent 5e17e5d275
commit 5ba25330d0

View File

@ -52,6 +52,7 @@ namespace cruft {
//---------------------------------------------------------------------
pool (pool &&rhs) noexcept
: m_available (0)
, m_store (nullptr)
, m_capacity (0)
{
std::swap (m_available, rhs.m_available);