mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-03 01:15:53 +00:00
Fix move constructor of aged_unordered_container (RIPD-490)
This commit is contained in:
committed by
Vinnie Falco
parent
8b59a2f6b6
commit
fe9d77734f
@@ -1779,7 +1779,7 @@ aged_unordered_container <IsMulti, IsMap, Key, T, Duration,
|
|||||||
Hash, KeyEqual, Allocator>::
|
Hash, KeyEqual, Allocator>::
|
||||||
aged_unordered_container (aged_unordered_container&& other)
|
aged_unordered_container (aged_unordered_container&& other)
|
||||||
: m_config (std::move (other.m_config))
|
: 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))
|
, m_cont (std::move (other.m_cont))
|
||||||
{
|
{
|
||||||
chronological.list = std::move (other.chronological.list);
|
chronological.list = std::move (other.chronological.list);
|
||||||
|
|||||||
Reference in New Issue
Block a user