From 1a89b0aa1460704eb3e88430a2df403265e7df62 Mon Sep 17 00:00:00 2001 From: Christian Mazakas Date: Tue, 4 Oct 2022 14:52:18 -0700 Subject: [PATCH] Add missing size swap() call to move-assign operator for foa::table --- include/boost/unordered/detail/foa.hpp | 1 + 1 file changed, 1 insertion(+) diff --git a/include/boost/unordered/detail/foa.hpp b/include/boost/unordered/detail/foa.hpp index f885e82b..2205d887 100644 --- a/include/boost/unordered/detail/foa.hpp +++ b/include/boost/unordered/detail/foa.hpp @@ -1056,6 +1056,7 @@ public: reserve(0); swap(arrays,x.arrays); swap(ml,x.ml); + swap(size_,x.size_); move_assign_if(al(),x.al()); } else{