From a8ea4ce283bd897879338a4efca7cc97d0402496 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) --- src/beast/beast/container/detail/aged_unordered_container.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/beast/beast/container/detail/aged_unordered_container.h b/src/beast/beast/container/detail/aged_unordered_container.h index c4bd8dfec..095462dea 100644 --- a/src/beast/beast/container/detail/aged_unordered_container.h +++ b/src/beast/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);