From fe9d77734f92c54c602bf4045111f85d3553cadf Mon Sep 17 00:00:00 2001 From: Howard Hinnant Date: Wed, 20 Aug 2014 17:40:35 -0400 Subject: [PATCH] Fix move constructor of aged_unordered_container (RIPD-490) --- beast/container/detail/aged_unordered_container.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/beast/container/detail/aged_unordered_container.h b/beast/container/detail/aged_unordered_container.h index c4bd8dfec7..095462dea8 100644 --- a/beast/container/detail/aged_unordered_container.h +++ b/beast/container/detail/aged_unordered_container.h @@ -1779,7 +1779,7 @@ aged_unordered_container :: 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);