Fix move constructor of aged_unordered_container (RIPD-490)

This commit is contained in:
Howard Hinnant
2014-08-20 17:40:35 -04:00
committed by Vinnie Falco
parent 8b59a2f6b6
commit fe9d77734f

View File

@@ -1779,7 +1779,7 @@ aged_unordered_container <IsMulti, IsMap, Key, T, Duration,
Hash, KeyEqual, Allocator>::
aged_unordered_container (aged_unordered_container&& other)
: m_config (std::move (other.m_config))
, m_buck (m_config.alloc())
, m_buck (std::move (other.m_buck))
, m_cont (std::move (other.m_cont))
{
chronological.list = std::move (other.chronological.list);